Skip to content

367-valid-perfect-square

DevGod
DevGod
Vtuber
/**
* @param {number} num
* @return {boolean}
*/
var isPerfectSquare = function(num) {
return Number.isInteger(Math.sqrt(num));
};