Skip to content

Commit

Permalink
docs: fix NaN example
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Jun 17, 2014
1 parent 1f0b54f commit 20fbf6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Readme.md
@@ -1,3 +1,4 @@

# type

Type assertions aka less-broken `typeof`.
Expand Down Expand Up @@ -27,7 +28,7 @@ type(/asdf/) == 'regexp'
type((function(){ return arguments })()) == 'arguments'
type([]) == 'array'
type(document.createElement('div')) == 'element'
type(NaN) == 'NaN'
type(NaN) == 'nan'
type(new Error('Ups! Something wrong...')) == 'error'
```

Expand Down

0 comments on commit 20fbf6f

Please sign in to comment.