Can someone explain this to me? It's about operators in javascript.
I've seen a sample code like c += a + (+b)
Is this the correct equivalent? c = c + a + (+b) ?
I can understand the rest except that +b, why does it have a +
in b
?
Can someone explain this to me? It's about operators in javascript.
I've seen a sample code like c += a + (+b)
Is this the correct equivalent? c = c + a + (+b) ?
I can understand the rest except that +b, why does it have a +
in b
?