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

Online now

Members online
1,017
Guests online
962
Total visitors
1,979

Forum statistics

Threads
2,276,215
Posts
28,968,392
Members
1,231,170
Latest member
nico062026
Back
Top