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