Skip to content

Commit 8449ded

Browse files
committed
Clarify introductory clause.
Fix comma splice.
1 parent 2558a27 commit 8449ded

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/en/array/constructor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ when creating new arrays.
1111
new Array(3); // Result: []
1212
new Array('3') // Result: ['3']
1313

14-
In cases when there is only one argument passed to the `Array` constructor,
15-
and that argument is a `Number`, the constructor will return a new *sparse*
14+
In cases when there is only one argument passed to the `Array` constructor
15+
and when that argument is a `Number`, the constructor will return a new *sparse*
1616
array with the `length` property set to the value of the argument. It should be
17-
noted that **only** the `length` property of the new array will be set this way,
17+
noted that **only** the `length` property of the new array will be set this way;
1818
the actual indexes of the array will not be initialized.
1919

2020
var arr = new Array(3);

0 commit comments

Comments
 (0)