Today I came across a fabulous trove of JavaScript tips and tricks. These are code snippets in JavaScript language. There are 100s of them all on a single page.
Check out the tips and tricks on JavaScript. If your job involves writing code in JavaScript, this set of tips are worth being bookmarked.
PS: To try all the JavaScript examples (code snippets), you can use a standalone JavaScript engine such as Rhino, Jhost, or SpiderMonkey. While on the topic of standalone programs that execute JavaScript code, do check out a list of other JavaScript engines.