construct-constructors.as

来自「Swfdec is a decoder/renderer for Macrome」· AS 代码 · 共 21 行

AS
21
字号
// makeswf -v 7 -s 200x150 -r 1 -o construct-constructors.swf construct-constructors.astrace ("Check that [] and {} don't call their constructors");_global.Array = function () {  trace ("  Array");};_global.Object = function () {  trace ("  Object");};trace ("new Array ()");x = new Array ();trace ("[]");x = [];trace ("new Object ()");x = new Object ();trace ("{}");x = {};loadMovie ("FSCommand:quit", "");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?