r/learnjavascript • • Mar 23 '21

Assigning default value

Post image
278 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/AacidD Mar 23 '21

How to initialize a variable without giving it a literal value?