how to solve problem with 3 parameter in javascript code example
Example: parameters in javascript
function myFunction(x, y) {
if (y === undefined) {
y = 2;
}
}
function myFunction(x, y) {
if (y === undefined) {
y = 2;
}
}