We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339535d commit 3bf8830Copy full SHA for 3bf8830
1-js/05-data-types/04-array/article.md
@@ -379,9 +379,7 @@ alert( arr[0] ); // undefined! no elements.
379
alert( arr.length ); // length 2
380
```
381
382
-In the code above, `new Array(number)` has all elements `undefined`.
383
-
384
-To evade such surprises, we usually use square brackets, unless we really know what we're doing.
+To avoid such surprises, we usually use square brackets, unless we really know what we're doing.
385
386
## Multidimensional arrays
387
0 commit comments