Bump to v4.16.3.

This commit is contained in:
John-David Dalton
2016-10-02 22:00:47 -07:00
parent ac571efbbd
commit eb1446def5
16 changed files with 213 additions and 176 deletions

View File

@@ -2,7 +2,8 @@ var isObject = require('./isObject');
/** `Object#toString` result references. */
var funcTag = '[object Function]',
genTag = '[object GeneratorFunction]';
genTag = '[object GeneratorFunction]',
proxyTag = '[object Proxy]';
/** Used for built-in method references. */
var objectProto = Object.prototype;
@@ -35,7 +36,7 @@ function isFunction(value) {
// The use of `Object#toString` avoids issues with the `typeof` operator
// in Safari 8-9 which returns 'object' for typed array and other constructors.
var tag = isObject(value) ? objectToString.call(value) : '';
return tag == funcTag || tag == genTag;
return tag == funcTag || tag == genTag || tag == proxyTag;
}
module.exports = isFunction;