JavaScript is built on some very good ideas and a few very bad ones. The very good ideas include functions, loose typing, dynamic objects, and an expressive object literal notation. The bad ideas include a programming model based on global variables.

— Douglas Crockford, JavaScript: The Good Parts

From section 1.2, "Analyzing JavaScript."

Topics: programming, web development