3 ms·
that's an implementation. The most commonly used implementation but still an implementation, not the manual.
by bryanrasmussen 5y ago
that'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