Domyślne parametry w ES6
let func = (a, b = 2) => {
return a + b
}
Outrageous Ostrich
let func = (a, b = 2) => {
return a + b
}