You are here: irt.org | About | Feedback | 1636 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q1438
Sent by
Jeff Home on August 17, 2000 at 08:54:05:
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
You could extend this FAQ:
There appears to be a bug (at least in the Windows version) of Netscape when using the parseInt() function.
The following will demonstrate it:
parseInt("08") == 0
parseInt("09") == 0
If you use the (more correct) syntax, it works properly:
parseInt("08",10) == 8
parseInt("09",10) == 9
IE treats both queries as if they were base 10 uses of the parseInt() function.
This conflicts with page 186 of the book "Javascript The Definitive Guide" by David Flanagan (3rd Edition). Excellent book... and I notice you advertise it here :)
Keep up the great work... and good luck (all of you) with your up and coming book releases.
PS: Any more games challenges coming up soon?
Jeff Home
London
Other feedback on 'irt.org FAQ Knowledge Base Q1438' - show all