Nearby lessons

1 of 40

🟨 JavaScript: The Language of the Web

📜 What is JavaScript?

JavaScript (JS) is a light-weight, object-oriented programming language used to script webpages. It is an interpreted, full-fledged programming language that enables dynamic interactivity on websites.

  • 🧪 JavaScript and Java are completely different languages, both in concept and design.
  • 👨‍💻 JavaScript was invented by Brendan Eich in 1995, and became an ECMA standard in 1997.
  • 📄 ECMA-262 is the official name of the standard. ECMAScript is the official name of the language.
  • ⚡ Originally created in 10 days for Netscape Navigator 2.0.
  • 📅 Major versions: ES5 (2009), ES6/ES2015 (huge update), annual updates since 2015.

🌟 Key Features

  • 🌐 All major browsers support JavaScript with built-in engines.
  • 🧱 Follows syntax and structure of C language – it's a structured language.
  • 💡 Weakly typed: types are implicitly cast depending on operations.
  • 🧬 Object-oriented language using prototypes, not classes, for inheritance.
  • ⚖️ Lightweight and interpreted language.
  • 🔤 Case-sensitive language.
  • 💻 Runs on multiple OS including Windows, macOS, Linux, etc.
  • 🎮 Gives users control over the browser's behavior.