2014-07-18 03:32:26 +02:00
|
|
|
//// [strictMode5.ts]
|
|
|
|
function foo(...args) {
|
|
|
|
"use strict"
|
|
|
|
}
|
|
|
|
|
|
|
|
class A {
|
|
|
|
m() {
|
|
|
|
"use strict"
|
|
|
|
|
|
|
|
var v = () => {
|
|
|
|
return this.n();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
n() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
function bar(x: number = 10) {
|
|
|
|
"use strict"
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [strictMode5.js]
|
|
|
|
function foo() {
|
2014-07-19 01:59:52 +02:00
|
|
|
"use strict";
|
2014-07-18 03:32:26 +02:00
|
|
|
var args = [];
|
|
|
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
|
|
args[_i - 0] = arguments[_i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var A = (function () {
|
|
|
|
function A() {
|
|
|
|
}
|
|
|
|
A.prototype.m = function () {
|
|
|
|
"use strict";
|
2014-07-19 01:59:52 +02:00
|
|
|
var _this = this;
|
2014-07-18 03:32:26 +02:00
|
|
|
var v = function () {
|
|
|
|
return _this.n();
|
|
|
|
};
|
|
|
|
};
|
|
|
|
A.prototype.n = function () {
|
|
|
|
};
|
|
|
|
return A;
|
|
|
|
})();
|
|
|
|
function bar(x) {
|
|
|
|
"use strict";
|
2014-07-19 01:59:52 +02:00
|
|
|
if (x === void 0) { x = 10; }
|
2014-07-18 03:32:26 +02:00
|
|
|
}
|