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

Commit 935221c

Browse files
committed
Update README.md
1 parent c5f2a80 commit 935221c

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-
// shorthand .slice() and standard .filter()
12+
// shorthand slice and standard filter
1313
Array.slice(document.childNodes).filter(isElement)
1414
);
1515

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

0 commit comments

Comments
 (0)