Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

distructuring null check

const D = null;
const { a, a: { z } = {}, b, c } = { ...D };

console.log(a, b, c, z);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #distructuring #null #check
ADD COMMENT
Topic
Name
9+1 =