if(confCaros.length == 0){confCaros = new Array();}else {
Object.prototype.toString.call( variableName ) == '[object Array]'
try {
if (someArray.length != 0)
alert('Array exist.');
} catch (e) {
if (e.name == "ReferenceError") {
someArray = new Array();
alert ('There was no array, I made one for you!');
}
}