function foo(param, param1) { var arg1 = param === void 0 ? 1 : param, arg2 = param1 === void 0 ? 1 : param1; }