>I think all undefined checks should use ===.  

Thanks Alex for the tip, I didn't know that.
I think my code needs some review ;-)

Maurice 

-----Message d'origine-----
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : mardi 11 mars 2014 08:00
À : dev@flex.apache.org
Objet : Re: ADG Bug of the day

There are plenty of places to improve SDK code.  If that's your itch, start 
scratching.  I don't know how much you'll actually save after the JIT, but hey, 
I won't veto it (unless you use == instead of ===).  I think all undefined 
checks should use ===.  Otherwise it would match null.

-Alex

On 3/10/14 11:51 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:

>Hi,
>
>And give the default is undefined it make sense to make that the faster 
>path IMO.
>
>Am I missing something? Do you think otherwise?
>
>Thanks,
>Justin

Reply via email to