From 2957434a9a25d4a5495d6e2f5476b47aea313ca6 Mon Sep 17 00:00:00 2001 From: Martin Giger Date: Fri, 17 Jul 2020 17:55:46 +0200 Subject: [PATCH] fix: don't claim that Array.from is faster (fixes #69) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41b95ff..ef738cb 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,8 @@ array.filter(this.isGood, this); ``` ### `prefer-array-from` -Use `Array.from` instead of `[...iterable]` for performance benefits. +Use `Array.from` instead of `[...iterable]`. +See [`from-map`](#from-map) for additional benefits `Array.from` can provide over the spread syntax. This rule is auto fixable.