JS Variable Exchange


```type// Exchange Variableslet a = "Apple";let b = "Banana";[a,b] = [b,a]console.log(a,b) // Banana, Apple```





> [https://yozm.wishket.com/magazine/detail/1585/](https://yozm.wishket.com/magazine/detail/1585/)






