What value is obtained when executing the following code?
function doubleOmitted(a = 2, b) {
return a * 2;
}
console.log(doubleOmitted(undefined, 5));
What value is obtained when executing the following code?
function doubleOmitted(a = 2, b) {
return a * 2;
}
console.log(doubleOmitted(undefined, 5));