You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@
112
112
var items = [];
113
113
```
114
114
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)
116
116
117
117
```javascript
118
118
var hundredOdds = [],
@@ -129,7 +129,7 @@
129
129
}
130
130
```
131
131
132
-
- If you don't know array length use Array#pushfor [performance reasons](http://jsperf.com/array-direct-assignment-vs-push/5)
132
+
- If you don't know array length use Array#push.
133
133
134
134
```javascript
135
135
var someStack = [],
@@ -142,7 +142,7 @@
142
142
someStack.push('abracadabra');
143
143
```
144
144
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)
0 commit comments