Jump to content

Recommended Posts

Posted

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?

Posted (edited)

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
Posted

W3schools is a tutorial, not a reference. When I want a Javascript reference I prefix a Google search with MDN (e.g., "mdn object", "mdn array", etc).

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