Hi i need help how to solve what is the password thanks everyone and have a good day

var pass = ;

$("#search").click(function () {

    for(item of password.value)
    {
        if (item.charCodeAt(0) % 2 == 0){
            pass.push(item.charCodeAt(0)+3)
        }else{
            pass.push(item.charCodeAt(0)-1)
        }
    }

    if (String.fromCharCode(...pass) == "leet"){
        alert("you rock");
    }
    else
    {
        alert("try again... ");
    }

Do you have a question?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.