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.
Keep Going!JS - Implementation