0
This is the best statement in JavaScript to create a new empty array named paints. True or False?
var paints = new Array() ;
1 Respuesta
+ 1
no
you shouldn't use var keyword
you should use let keyword instead
Also
let paints = [];
is better
var paints = new Array() ;