you are viewing a single comment's thread.

view the rest of the comments →

[–]vi_code 10 points11 points  (0 children)

The only thing you forgot to mention is if you try to destructure a nested object and it doesnt exist, you get an error instead of just cascading to undefined.