phuocng/frontend-tips

Swap 2 variables

phuocng opened this issue · 1 comments

[a, b] = [b, a]
b = [a, a = b][0]

Done