Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
JavaScript: Which of the following type of variable takes precedence over other if names are same?
0
votes
2,659
views
A
Global Variable
B
Local Variable
Correct Option: 2
Explanation:
A local variable takes precedence over a global variable with the same name. Its true not only for the JavaScript but most of the programming language.
javascript
interview questions
posted
Nov 27, 2017
by
anonymous
Looking for an answer? Promote on:
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
0
votes
Which of the following Javascript function of Array object calls a function for each element in the array?
0
votes
JavaScript: Which of the following function of String object returns the primitive value of the specified object?
0
votes
JavaScript: Which of the following function of Boolean object returns a string containing the source of Boolean object?
0
votes
JS:Which of following function splits a String object into an array of strings by separating the string into substrings?
+1
vote
LTE: Which of the following information is/are needed to be exchanged over X2 for establishment of its interface ?
...