Skip to content

Commit 015e431

Browse files
committed
[arrays] update jsperf links. fixes airbnb#27
1 parent dfb699a commit 015e431

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
@@ -112,7 +112,7 @@
112112
var items = [];
113113
```
114114
115-
- When you are managing array length use direct assignment over Array#push for [performance reasons](http://jsperf.com/array-direct-assignment-vs-push/5)
115+
- When you are managing array length use direct assignment over Array#push. [jsPerf](http://jsperf.com/array-direct-assignment-vs-push/11)
116116
117117
```javascript
118118
var hundredOdds = [],
@@ -129,7 +129,7 @@
129129
}
130130
```
131131
132-
- If you don't know array length use Array#push for [performance reasons](http://jsperf.com/array-direct-assignment-vs-push/5)
132+
- If you don't know array length use Array#push.
133133

134134
```javascript
135135
var someStack = [],
@@ -142,7 +142,7 @@
142142
someStack.push('abracadabra');
143143
```
144144

145-
- When you need to copy an array use Array() constructor [performance](http://jsperf.com/converting-arguments-to-an-array/7)
145+
- When you need to copy an array use Array() constructor. [jsPerf](http://jsperf.com/converting-arguments-to-an-array/7)
146146

147147
```javascript
148148
var len = items.length,

0 commit comments

Comments
 (0)