flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: [1/2] git commit: [flex-falcon] [refs/heads/initializers] - make default initialisers configurable
Date Sat, 24 Jun 2017 10:07:15 GMT

> It is default swtich on as I understand ?

No you use it to turn initialisers off.

if you don’t use the compiler option then uninitialised Booleans will default to false and
Numbers will default to NaN. This is different to how the current compiler does it.

if you do use it then initialised Boolean and Numbers will be undefined (in JS) and default
to the usual false and NaN is AS. This is the current behaviour of the compiler.

View raw message