Skip to content

Commit 357f3cf

Browse files
committed
Update Readme during review
1 parent a8dab70 commit 357f3cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ Other Style Guides
411411
```
412412

413413
<a name="arrays--mapping"></a>
414-
- [4.6](#arrays--mapping) Use [`Array.from`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from) instead of spread `...` for mapping over iterables like Sets, Maps or NodeLists, because it avoids creating an intermediate array.
414+
- [4.6](#arrays--mapping) Use [`Array.from`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from) instead of spread `...` for mapping over iterables, because it avoids creating an intermediate array.
415415

416416
```javascript
417417
// bad
@@ -710,7 +710,7 @@ Other Style Guides
710710

711711
// good
712712
if (currentUser) {
713-
let test = () => {
713+
const test = () => {
714714
console.log('Yup.');
715715
};
716716
}

0 commit comments

Comments
 (0)