Bump to v4.16.3.

This commit is contained in:
John-David Dalton
2016-10-02 21:54:44 -07:00
parent ab95e7dde7
commit d9fd2bdf9c
12 changed files with 45 additions and 28 deletions

View File

@@ -2,7 +2,8 @@ import isObject from './isObject.js';
/** `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;
}
export default isFunction;