Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Main extends flash.display.Sprite
- {
- public var i:Int;
- public function new(?i:Null<Int>)
- {
- super();
- this.i = i;
- }
- public static function main()
- {
- trace(new Main(null).i);//0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment