JSFiddle - React, Tailwind, and code Playground

by Sergio Kagiema

JavaScript

// Check if it array //
var intel = [];

if (/*Object.prototype.toString.call( intel ) === '[object Array]'*/ intel && intel.constructor){
    alert('[object Array]');
}else {alert('QQ');}

// logika to idio mporei na xrisimopoihthei k gia opoiodipote elegxo object allou tupou