2015-02-23 02:59:24 +01:00
|
|
|
//// [functionWithDefaultParameterWithNoStatements7.ts]
|
|
|
|
function foo(a = false) { }
|
|
|
|
|
|
|
|
function bar(a = false) {
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [functionWithDefaultParameterWithNoStatements7.js]
|
2015-02-23 21:31:40 +01:00
|
|
|
function foo(a) {
|
|
|
|
if (a === void 0) { a = false; }
|
|
|
|
}
|
2015-02-23 02:59:24 +01:00
|
|
|
function bar(a) {
|
2015-02-23 21:31:40 +01:00
|
|
|
if (a === void 0) { a = false; }
|
2015-02-23 02:59:24 +01:00
|
|
|
}
|