Hari Krishna Anemharikrishna.hashnode.dev·Jan 15, 2022JavaScript: Swapping of 2 variables without using temp variable and arithmetic operationslet a = 1; let b = 3; [a, b] = [b, a]; console.log(a, b); Output: 3 1 Execute above code hereswapAdd a thoughtful commentNo comments yetBe the first to start the conversation.