MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/j99oon/wired_way_to_learn_javascript_d/g8lr83l/?context=3
r/learnjavascript • u/ikrum • Oct 11 '20
30 comments sorted by
View all comments
4
[removed] — view removed comment
1 u/ricealexander Oct 12 '20 The first plus sign is a concatenation operator, which joins strings together.The second plus sign is a Unary plus operator, which coerces the following expression into a number.
1
The first plus sign is a concatenation operator, which joins strings together.
The second plus sign is a Unary plus operator, which coerces the following expression into a number.
4
u/[deleted] Oct 12 '20
[removed] — view removed comment