Jump to content

JavaScript langauge details are REALLY hard to find


theGleep

Recommended Posts

I like w3schools as my "go to" reference, but when I want to look up javascript *language* features, I can never find them.

 

I can find *object* features, like Array, Function, DOM and HTML Elements; but I can't find *language* elements like keywords (var, let ... today's word is "yield") and flow-control (loops) and decision (if/then).

 

Is there a reason this is the case?

Link to comment
Share on other sites

Information for language syntax and features are in the tutorial http://www.w3schools.com/js/default.asp while object properties and methods are in the reference http://www.w3schools.com/jsref/

 

Javascript doesn't have any keywords called "let" or "yield" so you wouldn't find them in any manual.

Link to comment
Share on other sites

Most language features are covered in the tutorial which includes sections that look more like references. You are right that not everything is covered. For some gritty details, especially recently added or proposed language features, you are probably much better off looking at...

 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

 

For let...

 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let

 

For yield...

 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/1.7?redirectlocale=en-US&redirectslug=JavaScript%2FNew_in_JavaScript%2F1.7

Edited by davej
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...