2010-12-25から1日間の記事一覧
ココによるとFirefox4(現在4.0b8)で対応してるみたいなんで試してみる。 > function test() { "use strict"; a = 1; } undefined > test(); ReferenceError: assignment to undeclared variable a > function test() { "use strict"; this.a = 1; } undefine…
ココによるとFirefox4(現在4.0b8)で対応してるみたいなんで試してみる。 > function test() { "use strict"; a = 1; } undefined > test(); ReferenceError: assignment to undeclared variable a > function test() { "use strict"; this.a = 1; } undefine…