Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

distructuring null check

const D = null;
const { a, b, c } = D || {};

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