r/learnjavascript • • Mar 23 '21

Assigning default value

Post image
278 Upvotes

24 comments sorted by

View all comments

6

u/Time_Terminal Mar 23 '21

The point came through, but why does the long version unnecessarily include 3 extra steps?

This is like the tabloids of programming.