Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
function q(s) {
return document.querySelectorAll(s);
}
var i,a=[],els=q("#foo");
var i,a=[],els=q(".foo");
for(i=0;i<els.length;i++){a.push(els[i]);}
```

Expand All @@ -944,7 +944,7 @@ The following sections outline a _reasonable_ style guide for modern JavaScript

var idx = 0,
elements = [],
matches = query("#foo"),
matches = query(".foo"),
length = matches.length;

for ( ; idx < length; idx++ ) {
Expand Down