1. Home
  2. Docs
  3. Manual
  4. Playbook
  5. Command list
  6. console global object

console global object

The console currently only provides one function externally. Usage example:

console.log(1,2)
  • void log(QJSValue v1, QJSValue v2, QJSValue v3, QJSValue v4, QJSValue v5, QJSValue v6, QJSValue v7, QJSValue v8, QJSValue v9)
    Output logs to the console.
    parameters:
    v1: required item. The value type is atomic type, such as string, integer, float, double, and boolean value.
    v2~v9: optional, with the same type as above.