top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

JavaScript: Which of the following type of variable takes precedence over other if names are same?

0 votes
87 views
AGlobal Variable
BLocal 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.
posted Nov 27, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...