-1:000000000000 | 0:f3b7a6e50db9 |
---|---|
1 function outer() { | |
2 "use strict"; | |
3 function inner() {} | |
4 return inner; | |
5 } | |
6 assertEq(outer().toString().indexOf("use strict") != -1, true); | |
7 function outer2() { | |
8 "use strict"; | |
9 function inner() blah; | |
10 return inner; | |
11 } | |
12 assertEq(outer2().toString().indexOf("/* use strict */") != -1, true); |