Is there a single source for JavaScript documentation?

Hi all,

I’m comparatively new to JavaScript, but I’ve been working with PHP for a long time.

As you might be able to imagine, I’ve used php.net extensively over the years, and I’m finding myself wishing for a similar resource for JavaScript. But there doesn’t seem to be one. There’s W3 schools, which is OK as it goes, but it can be a little flakey when you start to get into detail.

Am I just looking in the wrong place? What do you use?

I’d appreciate your help.

Thanks

James

Have you see http://www.sitepoint.com/javascript/ ?

Hi James, welcome to the forums!

As an online reference, I really like the Mozilla Developer Network. When searching (on Google), adding ‘MDN’ to your search terms will get you matches from the site - really handy for quick look-ups. I’d also be wary of W3 Schools… they had a lot of out-of-date JS material on their site previously, although I’ve heard they’re trying to update it now.

One place always worth bookmarking is the standards at http://www.ecmascript.org/ - that’s probably the closest equivalent to php.net

The other sources of information vary in quality but the two previously mentioned are amongst the best. I have only come across one instance in the last year of the Mozilla site being wrong (by specifying that an obsolete method was still current).