mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
fix reTypedTag error (#4342)
This commit is contained in:
committed by
John-David Dalton
parent
abde9319fd
commit
4df32723c2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user