Skip to content

Commit fe477ef

Browse files
dejoeajpiano
authored andcommitted
Fix typo in JavaScript 101 Types article. Fixes jquery#259.
Corrected a spelling mistake.
1 parent 0c23689 commit fe477ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var foo = new Array;
129129
var bar = [];
130130
```
131131

132-
There is an important distinction to be made between the two. Both an array construnctor and an array literal can contain items to be added to the array upon creating it. However, if just a single numeric item is passed in, the array constructor will assume its length to be that value.
132+
There is an important distinction to be made between the two. Both an array constructor and an array literal can contain items to be added to the array upon creating it. However, if just a single numeric item is passed in, the array constructor will assume its length to be that value.
133133

134134
```
135135
// The array literal returns a bar.length value of 1:

0 commit comments

Comments
 (0)