Skip to content

Commit b0e57c7

Browse files
author
Zeno Rocha
committed
Merge pull request #7 from deltaidea/fix-readme-for-in
Fix for-in field markers in README.md
2 parents cb3e82e + afc8f26 commit b0e57c7

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
@@ -170,8 +170,8 @@ ${1:myArray}.forEach(function (${2:elem}) {
170170
### [fi] for in
171171
172172
```javascript
173-
for (var ${1:prop} in ${1:obj}) {
174-
if (${1:obj}.hasOwnProperty(${1:prop})) {
173+
for (var ${1:prop} in ${2:obj}) {
174+
if (${2:obj}.hasOwnProperty(${1:prop})) {
175175
${3:// body...}
176176
}
177177
}

0 commit comments

Comments
 (0)