Skip to content

Commit

Permalink
Fix stupid example in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
timoxley committed Nov 2, 2012
1 parent 54599ec commit 2beff77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ collections, such as `<form>` and `<select>`, to be array-like.
isCollection(document.querySelectorAll('div')) // => truthy (2)
isCollection([]) // => truthy (1)

function(arguments) {
isCollection(document.querySelectorAll('div')) // => truthy (2)
}()
function() {
return isCollection(arguments)
}() // => truthy (2)

```

Expand Down

0 comments on commit 2beff77

Please sign in to comment.