❓ 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
  • 292
    Views
  • 3
    Participants
Last reply from:
homer_simpson

Trending Topics

Online now

Members online
1,105
Guests online
3,397
Total visitors
4,502

Forum statistics

Threads
2,307,187
Posts
29,177,213
Members
1,193,288
Latest member
Akagami12
Back
Top