We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
instanceof Array
Array.isArray()
1 parent 75c49df commit e09e86dCopy full SHA for e09e86d
1 file changed
src/nodes/core/NodeUtils.js
@@ -18,7 +18,7 @@ function cyrb53( value, seed = 0 ) {
18
19
let h1 = 0xdeadbeef ^ seed, h2 = 0x41c6ce57 ^ seed;
20
21
- if ( value instanceof Array ) {
+ if ( Array.isArray( value ) ) {
22
23
for ( let i = 0, val; i < value.length; i ++ ) {
24
0 commit comments