mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Added tests for parameter initializers.
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
|
||||
for (var {} = {}, {} = {}; false; void 0) {
|
||||
}
|
||||
|
||||
function f({} = a, [] = a, { p: {} = a} = a) {
|
||||
return ({} = a, [] = a, { p: {} = a } = a) => a;
|
||||
}
|
||||
})();
|
||||
|
||||
(function () {
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
|
||||
for (var {} = {}, {} = {}; false; void 0) {
|
||||
}
|
||||
|
||||
function f({} = a, [] = a, { p: {} = a} = a) {
|
||||
return ({} = a, [] = a, { p: {} = a } = a) => a;
|
||||
}
|
||||
})();
|
||||
|
||||
(function () {
|
||||
|
||||
Reference in New Issue
Block a user