What does this program print?
JavaScript
const {
missing = 'fallback',
empty = 'fallback',
count = 7,
note = 'fallback',
} = { empty: '', count: 0, note: null };
console.log(JSON.stringify([missing, empty, count, note]));
const {
missing = 'fallback',
empty = 'fallback',
count = 7,
note = 'fallback',
} = { empty: '', count: 0, note: null };
console.log(JSON.stringify([missing, empty, count, note]));