What is var | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

What is var

1st May 2018, 9:16 AM
Devanshu
Devanshu - avatar
5 Respuestas
+ 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