Link to home
Start Free TrialLog in
Avatar of tsmithinnc
tsmithinncFlag for United States of America

asked on

Python error please help

Im obviously missing something, I keep getting moo = 14, then I thought maybe it means length of fourteen but no and its not 2 either so im getting irritated.

var foo = 5 + 6 * 7
var bar = foo % 8
var moo = bar * 2
var rar = moo / 3
function check(x)
{
        if (x.length == moo)
        {
                        alert("win!");
                        window.location += "?lvl_password="+x;
        } else {
                        alert("fail D:");
     }
}
ASKER CERTIFIED SOLUTION
Avatar of darron_chapman
darron_chapman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial