Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@dhurlburtusa dhurlburtusa released this 08 May 20:47
· 12 commits to master since this release

When 'object' was returned, then one had to use the instanceof operator to narrow down the type. The 'array', 'date', and 'regexp' types were just special instances where the instanceof operator could be used. Now, there is more consistency. When 'object' is returned, then use instanceof operator.

Note: 'arguments' is still returned because some browsers don't have an Arguments constructor to use with the instanceof operator.