Javascript Flashcards
Memorise common CS tasks in JS
1
Q
Can you initialise an empty Array of length n in Javascript?
If yes, how?
A
Yes
new Array(n)
Can you initialise an empty Array of length n in Javascript?
If yes, how?
Yes
new Array(n)