• Output a message to the browser console/logs. Console messages are used for debugging purposes and are typically only visible to developers in the browser's developer tools.

    Parameters

    • message: any

      The message to log to the console

    • Optional location: string

      Where to show the message, one of MessageArea; shown everywhere when omitted

    Returns void

    Example

    console("Script execution started");
    console("Final calculated price: $" + finalPrice);

Generated using TypeDoc