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

Commit 66fd241

Browse files
committed
Merge pull request #1 from plusdude/staging
Indent - spaces
2 parents 019d659 + a7acce5 commit 66fd241

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Implementation of standard Array methods (introduced in ECMAScript 5th edition)
44
## Examples
55
```javascript
66
function isElement(element) {
7-
return element.nodeType === 1;
7+
return element.nodeType === 1;
88
}
99

1010
// example #1
1111
console.log(
12-
// shorthand slice and standard filter
13-
Array.slice(document.childNodes).filter(isElement)
12+
// shorthand slice and standard filter
13+
Array.slice(document.childNodes).filter(isElement)
1414
);
1515

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

0 commit comments

Comments
 (0)