+ 5
Variables
Es recomendable declarar variables en javascript la mayoría de las veces con var ?
10 odpowiedzi
+ 3
Not sure if I got it right , but declaring variables depends on your needs and situations.
var - just regular declaring.
let - for declaring variables inside of blocks(local variables) to not let it conflict with globals.
const to declare variable, supposed to be unchangeable.
For most things "var" is enough .
+ 2
c++ /if
0
Variables
0
C++
0
¿Hola alguien sabe cuales son los tipos de varrible?
0
What is the console.log
0
Amogus
0
Let
- 1
Please which code come after the assignment operator ,when assigning value to this
var canvas = ?
- 2
CAN YOU CALL ON A VAR MULTIPLE TIME.