You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// && mixed_var.hasOwnProperty('length') && // Not non-enumerable because of being on parent class
36
+
// !mixed_var.propertyIsEnumerable('length') && // Since is own property, if not enumerable, it must be a built-in function
37
+
// _getFuncName(mixed_var.constructor) !== 'String'; // exclude String(), but not another function returning String()
38
+
};
39
+
40
+
if(!mixed_var||typeofmixed_var!=='object'){
33
41
returnfalse;
34
42
}
35
43
36
44
// BEGIN REDUNDANT
37
45
this.php_js=this.php_js||{};
38
46
this.php_js.ini=this.php_js.ini||{};
39
47
// END REDUNDANT
40
-
41
-
if(typeofmixed_var==='object'){
42
-
43
-
if(this.php_js.ini['phpjs.objectsAsArrays']&&// Strict checking for being a JavaScript array (only check this way if call ini_set('phpjs.objectsAsArrays', 0) to disallow objects as arrays)
0 commit comments