Update for 20-11-21 15:15

This commit is contained in:
Tyler Perkins 2021-11-20 15:15:01 -05:00
parent dcf696dfdf
commit 37b9df6ff9

View File

@ -9,3 +9,16 @@ See [[Node.js.wiki]] for the core runtime of backend js (node)
See [[../tech/express.js.wiki]]
== Logging ==
To log several objects as a single command, run
{{{
console.log({foo, bar, baz});
}}}
To edit to appearance of the log, use printf esk statements
{{{
console.log('%c this text is orange', 'color: orange; font-weight: bold');
}}}