Skip to content

Commit 769f5a4

Browse files
committed
update readme
1 parent efa4e46 commit 769f5a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See the [test page](https://wizard04wsu.github.io/javascript-type-testing/test/t
1111
## Type Names
1212

1313
This module uses an expanded set of type names that make no distinction between primitive values and objects.
14-
For example, `5` and `new Number(5)` are both of type "number".
14+
For example, `5` and `new Number(5)` are both of type "number".
1515

1616
| Type Name | Values
1717
| - | -
@@ -22,9 +22,9 @@ For example, `5` and `new Number(5)` are both of type "number".
2222
| error | `Error` objects
2323
| function | `Function` objects
2424
| map | `Map` objects
25-
| nan | `NaN`
25+
| nan | `NaN`, `Number` objects with value `NaN`
2626
| null | `null`
27-
| number | _number_ primitives, `Number` objects; excludes `NaN`
27+
| number | _number_ primitives, `Number` objects; excludes `NaN` values
2828
| object | instances of `Object` that don't match another type in this list
2929
| promise | `Promise` objects
3030
| regex | `RegExp` objects

0 commit comments

Comments
 (0)