4) JavaScript can only run on Windows
-
True
-
False
Reveal answer
Fill a bubble to check yourself
B
Correct answer
Explanation
JavaScript runs in web browsers across all major operating systems including Windows, macOS, and Linux, making it platform-independent. The claim that it only runs on Windows is false.
AI explanation
JavaScript is a cross-platform scripting language that runs inside web browsers (and via engines like Node.js) on Windows, macOS, Linux, mobile OSes, and more — it has no inherent dependency on any specific operating system. So the claim that it 'can only run on Windows' is false. 'True' would be wrong because JavaScript engines (V8, SpiderMonkey, JavaScriptCore, etc.) ship in browsers and runtimes across virtually every major OS.