Skip to main content

Debugging

ConsoleError

ConsoleError(x)

Displays an error message in the browser console.

ConsoleInspect

ConsoleInspect(x) -> x

Displays a value in the browser console, and returns the same value. This allows it to be placed in the middle of an expression without affecting the result.

let x = ConsoleInspect(42);

ConsoleLog

ConsoleLog(x)

Displays a message in the browser console.