+ 1

How to change javascript variable?

For example:: var a = "" if(____){var a = "I"}

27th Aug 2022, 1:45 PM
Chris
2 Answers
0
Var a = 9; If(a > 5){ a = 2 } console,log(a)
1st Sep 2022, 5:17 AM
RISHABH
RISHABH - avatar
0
Dont use var again
1st Sep 2022, 5:18 AM
RISHABH
RISHABH - avatar