var isSquare = function(cords){ console.log(cords); for(var i=0;i