Update for 20-11-21 15:15
This commit is contained in:
parent
dcf696dfdf
commit
37b9df6ff9
@ -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');
|
||||
}}}
|
||||
|
Loading…
Reference in New Issue
Block a user