バグ?
/**
* Copyright uwi ( http://wonderfl.net/user/uwi )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/xgcY
*/
package {
import flash.display.Sprite;
import flash.text.TextField;
import flash.utils.getTimer;
public class Test extends Sprite {
private var _tf : TextField;
public function Test() {
_tf = new TextField();
_tf.width = 465;
_tf.height = 465;
addChild(_tf);
var s : int = getTimer();
var b : uint = 4 / 3;
tr(b);
var i : uint = 0;
do{
var a : uint = 4 / 3;
tr(a);
i++;
}while(i < 1);
var g : int = getTimer();
tr((g - s) + " ms");
}
private function tr(...o : Array) : void
{
_tf.appendText(o + "\n");
}
}
}