📄 function-scope.as
字号:
// makeswf -v 7 -s 200x150 -r 1 -o function-scope.swf function-scope.astrace ("Check the function scope chain works");Foo = function () { var bla = "inner scope"; this.bla = "this"; this.func = function () { trace (bla); var bla = "innermost scope"; this.func = function () { trace (bla); }; };};bla = "outermost scope";x = new Foo ();x.func ();x.func ();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -