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