JavaScript Perfect Square
var isSquare = function (n) {
return n > 0 && Math.sqrt(n) % 1 === 0;
};
Master Cheeto Fu
var isSquare = function (n) {
return n > 0 && Math.sqrt(n) % 1 === 0;
};