❓ 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.

Similar threads

About this Thread

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

Trending Topics

Online now

Members online
1,050
Guests online
5,157
Total visitors
6,207

Forum statistics

Threads
2,354,415
Posts
29,383,599
Members
1,079,449
Latest member
Iaa
Back
Top