assigning values to multiple variable let [one,two,three,four] = [1,2,3,4] short circuit evaluation const a = true const go=()=>console.log('nice') // long hand if(a){ go(); } // short hand a && go(); swap two variables [a,b] = [b,a] multiple condi...
marwenlabidi.hashnode.dev3 min read
No responses yet.