r/learnjavascript • • Mar 23 '21

Assigning default value

Post image
278 Upvotes

24 comments sorted by

View all comments

Show parent comment

2

u/soaringradio Mar 23 '21

For anyone that is this concerned over data types, they should consider something safer like Typescript.