Skip to content

Commit 32a4a8f

Browse files
author
Spike Brehm
committed
Merge pull request airbnb#66 from SiPlus/master
Change Array.prototype.slice.call(items) to items.slice()
2 parents 67d2f39 + c966723 commit 32a4a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
}
140140
141141
// good
142-
itemsCopy = Array.prototype.slice.call(items);
142+
itemsCopy = items.slice();
143143
```
144144

145145
**[[⬆]](#TOC)**

0 commit comments

Comments
 (0)