Mengecam cek nol
const D = null;
const { a, b, c } = D || {};
console.log(a, b, c);
Kind Kitten
const D = null;
const { a, b, c } = D || {};
console.log(a, b, c);
const D = null;
const { a, a: { z } = {}, b, c } = { ...D };
console.log(a, b, c, z);