Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  > 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...


that's an implementation. The most commonly used implementation but still an implementation, not the manual.


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




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

Search: