theGleep Posted August 15, 2013 Posted August 15, 2013 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?
camoka4 Posted August 15, 2013 Posted August 15, 2013 w3schools is good for beginners, for advanced info, please refer to stackoverflow
Ingolme Posted August 15, 2013 Posted August 15, 2013 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.
davej Posted August 15, 2013 Posted August 15, 2013 (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 August 16, 2013 by davej
camoka4 Posted August 15, 2013 Posted August 15, 2013 @Ingolme, are you sure? http://stackoverflow.com/questions/762011/javascript-let-keyword-vs-var-keyword
justsomeguy Posted August 16, 2013 Posted August 16, 2013 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).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now