JSFiddle - React, Tailwind, and code Playground

by Alexander

JavaScript

console.clear();

var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
windaw = window.frames[window.frames.length - 1];

var array1 = new window.Array(1,1,1,1),
		array2 = new windaw.Array(1,1,1,1);

console.log(array1 instanceof Array);  // true    
console.log(Array.isArray(array1));  // true

console.log(array2 instanceof Array);  // false    
console.log(Array.isArray(array2));  // true