❓ Help Help mee

Status
Not open for further replies.
JavaScript variables have only two scopes.
  • Global Variables − A global variable has global scope which means it can be defined anywhere in your JavaScript code.
  • Local Variables − A local variable will be visible only within a function where it is defined. Function parameters are always local to that function.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 310
    Views
  • 3
    Participants
Last reply from:
homer_simpson

Trending Topics

Online now

Members online
1,140
Guests online
4,863
Total visitors
6,003

Forum statistics

Threads
2,330,732
Posts
29,255,679
Members
1,151,273
Latest member
trobinxytube
Back
Top