Skip to content

Commit 2957434

Browse files
committed
fix: don't claim that Array.from is faster (fixes #69)
1 parent 7c12f63 commit 2957434

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ array.filter(this.isGood, this);
136136
```
137137

138138
### `prefer-array-from`
139-
Use `Array.from` instead of `[...iterable]` for performance benefits.
139+
Use `Array.from` instead of `[...iterable]`.
140+
See [`from-map`](#from-map) for additional benefits `Array.from` can provide over the spread syntax.
140141

141142
This rule is auto fixable.
142143

0 commit comments

Comments
 (0)