What is the scope of variables in JavaScript?

679

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?

0Answer


Your Answer

    Facebook Share        
       
  • asked 4 years ago
  • viewed 679 times
  • active 4 years ago

Hot Questions