Hacker News new | past | comments | ask | show | jobs | submit login

Fair enough. This is the version of the spec that is slated for release next year:

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.




console 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)


I see, thank you.


so I guess the correct spec (based on browsers / Node following it) is https://console.spec.whatwg.org/

on edit: https://github.com/whatwg/console




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: