Your Account

Community

Topics (Upcoming)

More

View story

1
0
Cannot use var n:Number == null to test if the number exists or not
http://labs.bigspaceship.com/blog/?p=40
Submitted by arpit 30 months, 3 days ago
The Number datatype's initial value is NaN. You cannot use n==null to test if that value has been set or not (it'll always return false). Instead use isNaN(n)
Tags:
Add your comment

If you already have an account, sign in:

Email address:
Password:

If you don't, just complete these fields: (or join flextips for free)

Your name:
Your site: (optional)

Your comment:

(You have up to 5000 characters left)

Can you see the 5 most prominent letters/numbers in this image? (case insensitive)

Please enter them here:

« go back

Home | Tools | Help & FAQ | About flextips | Contact us

© flextips 2007

Powered by coRank.com