Benannte Argumente in JavaScript

function foo({first, second, third} = {}) {
  console.log(first, second, third)
}

foo({
  first: 1,
  second: 2,
  third: 3 
})
Ahmad Khaefi