fix reTypedTag error (#4342)

This commit is contained in:
lvzhenbang
2019-06-26 11:11:14 -05:00
committed by John-David Dalton
parent abde9319fd
commit 4df32723c2

View File

@@ -3,7 +3,7 @@ import nodeTypes from './.internal/nodeTypes.js'
import isObjectLike from './isObjectLike.js'
/** Used to match `toStringTag` values of typed arrays. */
const reTypedTag = /^\[object (?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)\]$/
const reTypedTag = /^\[object (?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)Array\]$/
/* Node.js helper references. */
const nodeIsTypedArray = nodeTypes && nodeTypes.isTypedArray