javascript mission 3

Learn the basics of how to exploit JavaScript.

javascript mission 3

Post by grot3sq on Sat Apr 19, 2008 8:14 am
([msg=700]see javascript mission 3[/msg])

o.O i don't get it, i type the number that i get, but it tells me im wrong o.0
and its not a wrong number o.0
whats the catch in this one
and yes, i am a noob with capital N
grot3sq
New User
New User
 
Posts: 15
Joined: Sat Apr 19, 2008 7:25 am
Blog: View Blog (0)


Re: javascript mission 3

Post by GTADarkDude on Sat Apr 19, 2008 8:56 am
([msg=706]see Re: javascript mission 3[/msg])

I think you should pay a little more attention to this line:
Code: Select all
        if (x.length == moo)

They compare the value of the variable 'moo' not to the value of what you enter...
....................................................................................
GTADarkDude
New User
New User
 
Posts: 34
Joined: Mon Apr 14, 2008 9:38 am
Blog: View Blog (0)


Re: javascript mission 3

Post by grot3sq on Sat Apr 19, 2008 8:58 am
([msg=707]see Re: javascript mission 3[/msg])

yes i know... but i get moo = 11,75 i think something like that...
and if i type it, it says its wrong... o.O
grot3sq
New User
New User
 
Posts: 15
Joined: Sat Apr 19, 2008 7:25 am
Blog: View Blog (0)


Re: javascript mission 3

Post by GTADarkDude on Sat Apr 19, 2008 9:02 am
([msg=710]see Re: javascript mission 3[/msg])

That is definitly wrong. moo is NOT equal to 11,75. I guess you have to redo some calculations then.
....................................................................................
GTADarkDude
New User
New User
 
Posts: 34
Joined: Mon Apr 14, 2008 9:38 am
Blog: View Blog (0)


Re: javascript mission 3

Post by grot3sq on Sat Apr 19, 2008 10:27 am
([msg=720]see Re: javascript mission 3[/msg])

5 + 6 * 7 = 47 - foo
47 / 8 = 5,875 - bar
5,785 * 2 = 11,75 - moo

o.0

EDIT: OMFG, nvm... i just realized its % not / in the second line

EDITEDIT: still not working... gosh... i hate math XD
grot3sq
New User
New User
 
Posts: 15
Joined: Sat Apr 19, 2008 7:25 am
Blog: View Blog (0)


Re: javascript mission 3

Post by SammyJ on Sat Apr 19, 2008 1:00 pm
([msg=726]see Re: javascript mission 3[/msg])

i have the right answer but it doesn't work :|
what am i doing wrong?
SammyJ
New User
New User
 
Posts: 8
Joined: Thu Apr 17, 2008 12:31 am
Blog: View Blog (0)


Re: javascript mission 3

Post by c24lightning on Sat Apr 19, 2008 2:31 pm
([msg=736]see Re: javascript mission 3[/msg])

SammyJ wrote:i have the right answer but it doesn't work :|
what am i doing wrong?

There is no "for sure" answer - there's more than one possibility...
Here's some sites you might be interested in:

Need a proxy? Here - user:pass combination is proxy:bypass
c24lightning
Poster
Poster
 
Posts: 203
Joined: Sat Apr 19, 2008 7:46 am
Location: The infinite insanity of thought
Blog: View Blog (0)


Re: javascript mission 3

Post by SammyJ on Sat Apr 19, 2008 3:36 pm
([msg=751]see Re: javascript mission 3[/msg])

c24lightning wrote:
SammyJ wrote:i have the right answer but it doesn't work :|
what am i doing wrong?

There is no "for sure" answer - there's more than one possibility...



what does that mean?? :?:

math is math....there is always a "for sure" answer

or r u saying that 1+1 could = 4? :lol:
SammyJ
New User
New User
 
Posts: 8
Joined: Thu Apr 17, 2008 12:31 am
Blog: View Blog (0)


Re: javascript mission 3

Post by Rijnzael on Sat Apr 19, 2008 5:25 pm
([msg=756]see Re: javascript mission 3[/msg])

You guys really shouldn't need to do any calculating here at all.
Rijnzael
Poster
Poster
 
Posts: 164
Joined: Sun Apr 13, 2008 10:12 am
Location: 128.0.0.0/8
Blog: View Blog (0)


Re: javascript mission 3

Post by SammyJ on Sat Apr 19, 2008 8:49 pm
([msg=766]see Re: javascript mission 3[/msg])

Nvm did it :D
SammyJ
New User
New User
 
Posts: 8
Joined: Thu Apr 17, 2008 12:31 am
Blog: View Blog (0)


Next

Return to Javascript

Who is online

Users browsing this forum: No registered users and 0 guests