3D action driving game3.75 / 5.00 7,067 Views
Manage and train heroes to build up a world-renowned adventure agency!3.81 / 5.00 26,172 Views
The Snake/Pinball mashup you never knew you wanted.3.54 / 5.00 5,051 Views
Learning from a book for both would be best. I can't think of any offhand, but most books you find will probably be a solid resource; the more recent the better.
Also, in your browser, you'll want to use "developer tools". If you are using Google Chrome, this is a press of the F12 key away. You'll spend most of your time here in the "Console tab". You can try one-liners of code in there to get direct output. If you are working from a script, you can send output there as well using the following:
console.log('output goes here');
If you are using Firefox, you'll want to install Firebug for the same functionality.
If you are using Internet Explorer, you'll probably want to change browsers.
That reminds me Douglas Crockford also did a lecture on the subject. It's a good talk; I recommend it.
At 2/19/13 05:38 AM, Mich wrote: I also recommend using JsFiddle for when you are learning and experimenting. It makes it very easy to try things out.
Agreed, jsfiddle is great.
There's also JS Bin which basically does the same thing, but in a different way; I find JS Bin is a bit better for more complicated tests though.