3 ms·
> which manual am I reading for learning everything there is possible to know about Console.log that > will mean I never have to turn to a search engine again
by dotancohen 5y ago
> which manual am I reading for learning everything there is possible to know about Console.log that
> will mean I never have to turn to a search engine again (with console related questions)?
https://chromium.googlesource.com/devtools/devtools-frontend/+/refs/heads/main https://chromium.googlesource.com/devtools/devtools-frontend...
- bryanrasmussen 5y agothat's an implementation. The most commonly used implementation but still an implementation, not the manual.
- dotancohen 5y agoFair enough. This is the version of the spec that is slated for release next year: https://tc39.es/ecma262/ https://tc39.es/ecma262/ Interestingly, I cannot find the console methods in there. Perhaps they are not part of the spec? I remember when Javascript was new (before 2000) it was said that Javascript was unique among languages for not having the concept of input and output.
- bryanrasmussen 5y agoconsole is not part of the language, iirc it was first introduced by Firebug - or some similar debugging tool then every other environment implemented something with the same syntax for their environment but slightly differing behaviors since not a part of the standard (of course you can also find things in a standard that vary by implementation, but things that are not in the standard I distrust even more)
- dotancohen 5y agoI see, thank you.
- bryanrasmussen 5y agoso I guess the correct spec (based on browsers / Node following it) is https://console.spec.whatwg.org/ https://console.spec.whatwg.org/ on edit: https://github.com/whatwg/console https://github.com/whatwg/console