15

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
Brian Tompsett - 汤莱恩
5,92772 gold badges64 silver badges135 bronze badges
asked Nov 11, 2010 at 21:01
2
  • 20
    Having no reference is probably better than using W3Schools Commented Nov 11, 2010 at 21:07
  • +1 @scunliffe, @Nick Craver, & @Sime Vidas thanks for the good references. I don't want to not award an answer, but I'm not really sure who deserves it the most. I went with first response. Commented Nov 12, 2010 at 6:15

5 Answers 5

17

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.

answered Nov 11, 2010 at 21:06
Sign up to request clarification or add additional context in comments.

3 Comments

Indeed - just yesterday I saw someone comment somewhere (can not find it!) that they just append "mdc" to their google queries on JavaScript reference questions to get the preferred mdc results first and foremost
@Matt - I didn't catch that...but I do the same :)
it lacks the community integration It's a wiki, so you the community can modify it :)
14

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

answered Nov 11, 2010 at 21:05

Comments

8

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)

answered Nov 11, 2010 at 21:06

Comments

2

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

Jonathan Leffler
760k145 gold badges961 silver badges1.3k bronze badges
answered Nov 11, 2010 at 21:26

1 Comment

I considered mentioning that I own that book.
1

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

answered Nov 11, 2010 at 21:07

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.