2021-11-19 02:00:01 +00:00
|
|
|
= Javascript =
|
|
|
|
|
|
|
|
Javascript is probably the most popular language in existance. It is an
|
|
|
|
interpreted, typeless language
|
|
|
|
|
2021-11-20 20:45:01 +00:00
|
|
|
== Backend, frameworks, and more ==
|
2021-11-19 02:30:01 +00:00
|
|
|
|
|
|
|
See [[Node.js.wiki]] for the core runtime of backend js (node)
|
|
|
|
|
|
|
|
See [[../tech/express.js.wiki]]
|
2021-11-19 02:00:01 +00:00
|
|
|
|
2021-11-20 20:45:01 +00:00
|
|
|
See [[jQuery]]
|
|
|
|
|
2021-11-20 20:15:01 +00:00
|
|
|
== 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');
|
|
|
|
}}}
|