Bhola Meena's Tech Knowledge Backup
Saturday, April 6, 2024
unary operator in JS
+ operator before variable will always convert string to number
@set
(
"
counter
"
,
+
counter
+
1
)
it will avoid appending number to string
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment