Files
n8n-docs/docs/code-examples/javascript-functions/console-log.md
Deborah Barnard 52630c2f50 wip
2023-03-09 12:44:48 +00:00

649 B

description
description
How to use console.log()

Using console.log in the Code node

You can use console.log() in the Code node to help when writing and debugging your code.

For help opening your browser console, refer to this guide by Balsamiq{:target=_blank .external-link}.

For technical information on console.log(), refer to the MDN developer docs{:target=_blank .external-link}.

For example, copy the following code into a Code node, then open your console and run the node:

let a = "apple";
console.log(a);