Multiple choice general knowledge

Which best describes JavaScript?

  1. a low-level programming language.

  2. a scripting language precompiled in the browser.

  3. a compiled scripting language

  4. an object-oriented scripting language

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

JavaScript is fundamentally an object-oriented scripting language that runs primarily in web browsers. It uses prototype-based inheritance rather than class-based inheritance. It's not a low-level language, not precompiled in browsers (interpreted), and while modern engines compile it, its design is as a dynamic scripting language.