Skip to content

Commit 63f0fa2

Browse files
committed
udpating readme
1 parent 9dd4217 commit 63f0fa2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ array(2, 10).filter( x => x%2===0 )
2525
It can also be useful for creating a fixed size dense array. Cleaner than `apply` and does not create an intermediate array:
2626

2727
```js
28-
Array.apply(null, new Array(5))
28+
array(5)
2929

30-
vs.
30+
//vs.
3131

32-
array(5)
32+
Array.apply(null, new Array(5))
3333
```
3434

3535
## Usage

0 commit comments

Comments
 (0)