From 1db74268a55d4b0e0c4eaf48bbe8a1c800c3f050 Mon Sep 17 00:00:00 2001 From: wizard0918 Date: Tue, 23 Apr 2024 06:24:56 -0500 Subject: [PATCH] fix: wrong word --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 120057b062..69668b9551 100644 --- a/README.md +++ b/README.md @@ -367,8 +367,8 @@ Other Style Guides someStack.push('abracadabra'); ``` - - - [4.3](#es6-array-spreads) Use array spreads `...` to copy arrays. + + - [4.3](#es6-array-spread) Use array spread `...` to copy arrays. ```javascript // bad @@ -386,7 +386,7 @@ Other Style Guides - - [4.4](#arrays--from-iterable) To convert an iterable object to an array, use spreads `...` instead of [`Array.from`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from) + - [4.4](#arrays--from-iterable) To convert an iterable object to an array, use spread `...` instead of [`Array.from`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from) ```javascript const foo = document.querySelectorAll('.foo'); @@ -3765,7 +3765,7 @@ Other Style Guides 1. [Destructuring](#destructuring) 1. [Default Parameters](#es6-default-parameters) 1. [Rest](#es6-rest) -1. [Array Spreads](#es6-array-spreads) +1. [Array spread](#es6-array-spread) 1. [Let and Const](#references) 1. [Exponentiation Operator](#es2016-properties--exponentiation-operator) 1. [Iterators and Generators](#iterators-and-generators)