1.
Which of the following are reserved words in JavaScript?
if
value
const
function
Correct: A, C, D
Reserved words in JavaScript are keywords that have predetermined meanings and cannot be used as identifiers. Some examples of reserved words in JavaScript include "if", "const", and "function". These words are reserved for specific purposes in the language and cannot be used as variable or function names. The answer choices "if", "const", and "function" are all reserved words, while "value" is not.
1 / 32