What is var | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

What is var

1st May 2018, 9:16 AM
Devanshu
Devanshu - avatar
5 Respostas
+ 27
variable
1st May 2018, 9:54 AM
Salif Mehmed šŸ‡¹šŸ‡·šŸ‡§šŸ‡¬
Salif Mehmed  šŸ‡¹šŸ‡·šŸ‡§šŸ‡¬ - avatar
+ 6
Var means a variable that you set, now there are two different vars (global and local) for example; var x= 3 function{var y= 5} The var outside the function is global because itā€™s not inside a function and you guessed it the one inside the function is local and local vars only apply to things inside that function while global variables apply to everything in the code
1st May 2018, 9:34 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 3
i dont understand the question
1st May 2018, 9:29 AM
Etabeta1šŸ‡®šŸ‡¹
Etabeta1šŸ‡®šŸ‡¹ - avatar
+ 2
var is variable
1st May 2018, 11:35 PM
gita ang
gita ang - avatar
+ 1
var is a variable and you can assign values and strings to vars or boolean to a var. ex. var eggs = 3;
12th Jun 2018, 11:35 AM
IcyClone
IcyClone - avatar