function func([ab]) {
  console.log(a);
  console.log(b);
}

func([12]);


저렇게 쓰면 되다는 건 알겠는 데 뭐라 함 ㅇㅅㅇ?