What does VAR do in Javascript?

Thanh Hoan

New member
What does VAR do in Javascript?
Answer
var is used to declare the variable in javascript. var msg=””; means you declared the variable msg which is empty and same with the focusname .
 

Tìm kiếm

Back
Top