27 ms·
In javascript you can use an object, and then use destructuring to automatically convert the properties into local variables within the function. Which is supe
by blinky1456 7y ago
In javascript you can use an object, and then use destructuring to automatically convert the properties into local variables within the function.
Which is super useful and easy to read.
getUserMessag({userId:1234, retriveFullMessage:true})
https://codeburst.io/es6-destructuring-the-complete-guide-7f842d08b98f https://codeburst.io/es6-destructuring-the-complete-guide-7f...