array destructurin default

const arr = ['a', 'b']

let [a,b, c="not set"] = arr;
console.log(a,b,c);

//Result: 
//a b not set