DEV Community

Discussion on: 5 neat JavaScript tips

Collapse
 
daliboru profile image
Dalibor Belic

Yes! In that case, I would do the 2nd version: function (tiger) { ... and then inside the function: { endangered, latin, ... } = tiger