0

Can I mix let and var in one program?

Var a=2; let z = 1;

18th Jan 2022, 1:02 PM
JIBRILLA ABDUL-RAZAK
JIBRILLA ABDUL-RAZAK - avatar
3 Respuestas
+ 2
You can mix everything in one program.
18th Jan 2022, 1:25 PM
A͢J
A͢J - avatar
+ 3
If you need a global variable you use var.
18th Jan 2022, 1:19 PM
Solo
Solo - avatar
+ 1
Stupid question for a person who has studied 85% of the js course
18th Jan 2022, 2:51 PM
Solo
Solo - avatar