Q. Why is JavaScript called a structured programming language?
-
(A)
Because all popular web browsers support JavaScript as they provide built-in execution environments
-
(B)
Because it is an object-oriented programming language that uses prototypes rather than using classes for inheritance
-
(C)
Because it follows the syntax and structure of the C programming language, which is a structured programming language
-
(D)
Because it ignores spaces, tabs, and newlines that appear in JavaScript programs
β
Correct Answer: (C)
Because it follows the syntax and structure of the C programming language, which is a structured programming language