function foo(foo, bar = foo !== null && foo !== void 0 ? foo : "bar") {}