• + 0 comments

    Why this problem doesnt support JavaScript language

    function isSmartNumber(num) {
        var val = Math.floor(Math.sqrt(num));
        if (val * val === num) {
            return true;
        }
        return false;
    }