Skip to content

Commit

Permalink
Fixed typo in check-types.md
Browse files Browse the repository at this point in the history
It was a bad typo since the whole rule is about checking case.
  • Loading branch information
bobpaw authored and brettz9 committed Sep 6, 2020
1 parent d900a70 commit 71649e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .README/rules/check-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ identity.)
type name | `typeof` | check-types | testcase
--|--|--|--
**Array** | object | **Array** | `([]) instanceof Array` -> `true`
**Function** | function | **function** | `(function f () {}) instanceof Function` -> `true`
**Function** | function | **Function** | `(function f () {}) instanceof Function` -> `true`
**Date** | object | **Date** | `(new Date()) instanceof Date` -> `true`
**RegExp** | object | **RegExp** | `(new RegExp(/.+/)) instanceof RegExp` -> `true`
Object | **object** | **object** | `({}) instanceof Object` -> `true` but `Object.create(null) instanceof Object` -> `false`
Expand Down

0 comments on commit 71649e5

Please sign in to comment.