null*ZERO = 0 undefined*ZERO = NaN

by Murai
@author Takashi Murai(KAYAC)
♥0 | Line 19 | Modified 2009-10-26 20:03:13 | MIT License
play

ActionScript3 source code

/**
 * Copyright Murai ( http://wonderfl.net/user/Murai )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/jW9B
 */

package {
    import flash.display.*;
    import flash.text.*;
    /*
        @author Takashi Murai(KAYAC)
    */
    [SWF(width="400", height="400", frameRate="24", backgroundColor="#FFFFFF")]
    
    public class Main extends Sprite {
          public var txt:TextField;
     
        public function Main() {
            init();         
        }
         
         public function init():void{
             txt = new TextField();
             txt.width = 400;
             txt.height = 400;
             addChild(txt);
             txt.appendText("null*0 = "+String(null*0)+"\n");
             txt.appendText("undefined*0 = "+String(undefined*0)+"\n");
         }
     }
}