Is there a more comprehensive JavaScript function reference than w3schools? [closed]

ε祈祈猫儿з 提交于 2019-11-27 01:52:40

问题


I've been searching around online for a while now and I can't seem to find any particularly impressive function references for JavaScript.

Of course, QuirksMode and w3schools have good information, but they're not as complete for JavaScript as the flash component reference and jQuery API are for flash and jQuery.

So does anyone know of a good JavaScript reference with some or all of the following qualities?

  • Documentation on most functions/objects/packages/prototypes
  • Browser compatibility
  • examples of usage
  • clean layout
  • community comments/examples
  • library APIs

回答1:


Mozilla has very complete docs:

https://developer.mozilla.org/en/JavaScript/Reference

DevGuru has a very complete list also

http://www.devguru.com/technologies/ecmascript/quickref/javascript_index.html

in addition if you want to see all the quirky differences that Microsoft implemented then MSDN provides a fairly complete (but not frequently updated or corrected) set of docs here:

http://msdn.microsoft.com/en-us/library/ms533054%28v=VS.85%29.aspx




回答2:


Yes, the Mozilla Developer Center is a much better area, it lacks the community integration, but the descriptions and organization are much better (and more accurate) than w3schools.




回答3:


For the built-in objects, the reference is in the ECMAScript spec:
http://www.ecma-international.org/publications/standards/Ecma-262.htm

For the host objects, use MDC and MSDN:
https://developer.mozilla.org/en/gecko_dom_reference
http://msdn.microsoft.com/en-us/library/ms533050(VS.85).aspx

Also, there is the Webkit DOM Reference (but it seems somewhat sloppy):
http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/WebKitDOMRef/index.html

Then again there are the web-standards defined by W3C. You can use my W3 Viewer to browse them:
http://www.w3viewer.com

(The standards of interest are in the "JavaScript" and "DOM" categories)




回答4:


In my opinion, nothing beats the reference of the book JavaScript: The Definitive Guide.




回答5:


The JavaScript Kit have a pretty good one: http://www.javascriptkit.com/jsref/

A little harder to digest, but perhaps more complete (but only including the core, not web-specific stuff like window or document) is the ECMAScript specification: http://www.ecmascript.org/docs.php

And then there are the Mozilla and MSDN references, for browser specific stuff. https://developer.mozilla.org/en/JavaScript/Reference, http://msdn.microsoft.com/en-us/library/d1et7k7c(VS.94).aspx



来源:https://stackoverflow.com/questions/4159226/is-there-a-more-comprehensive-javascript-function-reference-than-w3schools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!