Skip to content
This repository was archived by the owner on Sep 13, 2021. It is now read-only.

Commit d2a41cd

Browse files
committed
Update README.md
1 parent 180a06d commit d2a41cd

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
@@ -9,13 +9,13 @@ function isElement(element) {
99

1010
// example #1
1111
console.log(
12-
// generic .filter()
12+
// shorthand .filter()
1313
Array.filter(document.childNodes, isElement)
1414
);
1515

1616
// example #2
1717
console.log(
18-
// generic .slice() and standard .filter()
18+
// shorthand .slice() and standard .filter()
1919
Array.slice(document.childNodes).filter(isElement)
2020
);
2121
```

0 commit comments

Comments
 (0)