Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q1438

Feedback on: irt.org FAQ Knowledge Base Q1438

Sent by Jeff Home on August 17, 2000 at 08:54:05: - feedback #1636

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


Sent by Daniel Prust on Tuesday July 31, 2007 at 14:18:41 - feedback #4862

Worth:

Length:

Technical:

Comments:
Sometimes, things are a bug because the design is flawed.




©2018 Martin Webb