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

Trending Topics

Online now

Members online
1,301
Guests online
2,384
Total visitors
3,685

Forum statistics

Threads
2,294,108
Posts
29,088,696
Members
1,208,080
Latest member
Zayn_0923
Back
Top