From "You Don't Know JS: Types & Grammar"
🎧 Listen to Summary
Free 10-min PreviewThe Identity and Evolution of JavaScript
Key Insight
JavaScript's name is widely misunderstood, stemming from a marketing decision. Initially code-named Mocha and then LiveScript at Netscape, it was publicly named 'JavaScript' to appeal to Java programmers and align with the trend of 'script' for lightweight web programs. Despite superficial syntax similarities with C, C++, and Java, such as the use of `{}` and `;`, these do not indicate shared development but rather common target developer expectations from C-family languages. Oracle, through its acquisition of Sun and Netscape, owns the official trademark for 'JavaScript', though it is rarely enforced.
A common and often preferred shorthand for the language is JS. Its official designation, established by the TC39 committee and standardized by ECMA, is ECMAScript, typically followed by its revision year, like ES2019. It is important to use accurate terminology such as 'ES20 double X' or 'JS', avoiding misleading or outdated terms like 'JS6' or 'ES8'. Fundamentally, JavaScript is not a variation of Java, as famously articulated: 'Java is to JavaScript as ham is to hamster'.
The language's extensive features and capabilities are founded upon three core pillars: scope and closures, prototypes and objects, and types and coercion. These foundational concepts are central to understanding JavaScript's architecture. This initial material, while foundational, assumes several months of prior JavaScript experience, preparing developers for a deeper study of the language rather than serving as an absolute beginner's guide.
📚 Continue Your Learning Journey — No Payment Required
Access the complete You Don't Know JS: Types & Grammar summary with audio narration, key takeaways, and actionable insights from Kyle Simpson.