Loading...
Is this your company?
Swap 2 numbers without any third variable .
Anonymous
In JavaScript we can you use array destructing to do that. let a = 2 let b = 3 [ a, b ] = [ b, a ] Now, a = 3, b = 2
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.