Skip to content

Conversation

@thefourtheye
Copy link
Contributor

  1. When we are comparing the objectToString values, isObject check is not
    necessary. So removing those checks. Refer util: removing redundant checks in is* functions nodejs/node#2179
  2. Buffer.isArray need not be run in another function, as it is a static function.
  3. Including compatible checks for versions older then ES5, for Arrays. Refer fix for es<5 not having Array.isArray() #3

1. When we are comparing the `objectToString` values, `isObject` check is not
   necessary. So removing those checks.

2. `Buffer.isArray` and `Array.isArray` need not be run in another function, as
   they are static functions.
@thefourtheye
Copy link
Contributor Author

Bump!

@thefourtheye
Copy link
Contributor Author

@isaacs Bump!

@isaacs isaacs merged commit 67c1cad into isaacs:master Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants