⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 construct-properties.as

📁 Swfdec is a decoder/renderer for Macromedia Flash animations. The decoding and rendering engine is
💻 AS
字号:
// makeswf -v 7 -s 200x150 -r 1 -o construct-properties.swf construct-properties.astrace ("Check initial properties of script-constructed objects");function check (o, desc){  trace (">>> " + desc);  trace (o.constructor);  trace (o.hasOwnProperty ("constructor"));  trace (o.__constructor__);  trace (o.hasOwnProperty ("__constructor__"));  trace (o.__proto__);  trace (o.hasOwnProperty ("__proto__"));};check (new Object (), "new Object ()");check ({}, "{}");check ([], "[]");Foo = function () {  check (this, "");};check (new Foo (), "new Foo ()");check (new this.Foo (), "new this.Foo ()");ASSetPropFlags (Foo, "prototype", 0, 7);delete Foo.prototype;trace (Foo.prototype);x = new Foo ();check (x, "new Foo () - without prototype");Foo.__proto__ = null;x = new Foo ();x.hasOwnProperty = Object.prototype.hasOwnProperty;check (x, "new this.Foo () - without prototype");check (42, "42");check (true, "true");loadMovie ("FSCommand:quit", "");

⌨️ 快捷键说明

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