Which of the following variables takes precedence over the others if the names are the same?
a) Global variable
b) The local element
c) The two of the above
d) None of the above
Answer: B
Reason: In JavaScript, the local variable takes precedence over the global variable if the name of both local and global variables is the same.