5 ms·
Did we read the same article? I do absolutely not see the author advocating returning values in an array instead of an object, in fact, they seems to be saying
by Drakim 6y ago
Did we read the same article?
I do absolutely not see the author advocating returning values in an array instead of an object, in fact, they seems to be saying the exact opposite? (starting with the array example, and then going to the object example afterwards)
The primary point of the article is the destructuring which makes the syntax much nicer.
- forest_dweller 6y agoI misread it and was looking at one of the other languages.