-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
131 changed files
with
1,129 additions
and
970 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...sync/es2017/asyncArrowFunction/asyncArrowFunction3_es2017/input.ts/es5.1.normal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// @target: es2017 | ||
// @noEmitHelpers: true | ||
function f(param) { | ||
var _await = param === void 0 ? _await : param; | ||
function f() { | ||
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await; | ||
} |
4 changes: 2 additions & 2 deletions
4
...017/functionDeclarations/asyncFunctionDeclaration3_es2017/input.ts/es5.1.normal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// @target: es2017 | ||
// @noEmitHelpers: true | ||
function f(param) { | ||
var _await = param === void 0 ? _await : param; | ||
function f() { | ||
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await; | ||
} |
4 changes: 2 additions & 2 deletions
4
...nces/async/es5/asyncArrowFunction/asyncArrowFunction3_es5/input.ts/es5.1.normal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// @target: ES5 | ||
// @lib: es5,es2015.promise | ||
// @noEmitHelpers: true | ||
function f(param) { | ||
var _await = param === void 0 ? _await : param; | ||
function f() { | ||
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await; | ||
} |
4 changes: 2 additions & 2 deletions
4
...nc/es5/functionDeclarations/asyncFunctionDeclaration3_es5/input.ts/es5.1.normal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// @target: ES5 | ||
// @lib: es5,es2015.promise | ||
// @noEmitHelpers: true | ||
function f(param) { | ||
var _await = param === void 0 ? _await : param; | ||
function f() { | ||
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await; | ||
} |
4 changes: 2 additions & 2 deletions
4
...nces/async/es6/asyncArrowFunction/asyncArrowFunction3_es6/input.ts/es5.1.normal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// @target: ES6 | ||
// @noEmitHelpers: true | ||
function f(param) { | ||
var _await = param === void 0 ? _await : param; | ||
function f() { | ||
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await; | ||
} |
4 changes: 2 additions & 2 deletions
4
...nc/es6/functionDeclarations/asyncFunctionDeclaration3_es6/input.ts/es5.1.normal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// @target: ES6 | ||
// @noEmitHelpers: true | ||
function f(param) { | ||
var _await = param === void 0 ? _await : param; | ||
function f() { | ||
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 9 additions & 6 deletions
15
...sExpressions/classWithStaticFieldInParameterInitializer/input.ts/es5.2.minified/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
(function _class() { | ||
"use strict"; | ||
!function(instance, Constructor) { | ||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function"); | ||
}(this, _class); | ||
}).x = 1; | ||
var _class1; | ||
!function() { | ||
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : (_class1 = function _class() { | ||
"use strict"; | ||
!function(instance, Constructor) { | ||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function"); | ||
}(this, _class); | ||
}).x = 1; | ||
}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 7 additions & 6 deletions
13
...uctorParameters/constructorDefaultValuesReferencingThis/input.ts/es5.2.minified/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
function _classCallCheck(instance, Constructor) { | ||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function"); | ||
} | ||
var C = function(param) { | ||
var C = function() { | ||
"use strict"; | ||
_classCallCheck(this, C); | ||
}, D = function(param) { | ||
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, C); | ||
}, D = function() { | ||
"use strict"; | ||
_classCallCheck(this, D); | ||
}, E = function(param) { | ||
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, D); | ||
}, E = function() { | ||
"use strict"; | ||
_classCallCheck(this, E), this.x = void 0 === param ? this : param; | ||
var x = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this; | ||
_classCallCheck(this, E), this.x = x; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...orParameters/constructorImplementationWithDefaultValues/input.ts/es5.2.minified/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
function _classCallCheck(instance, Constructor) { | ||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function"); | ||
} | ||
var C = function(param) { | ||
var C = function() { | ||
"use strict"; | ||
_classCallCheck(this, C), void 0 === param; | ||
}, D = function(param) { | ||
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, C); | ||
}, D = function() { | ||
"use strict"; | ||
_classCallCheck(this, D), void 0 === param; | ||
}, E = function(param) { | ||
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, D); | ||
}, E = function() { | ||
"use strict"; | ||
_classCallCheck(this, E), void 0 === param; | ||
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, E); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.