Troque dois números sem temperatura em JavaScript
let a = 5, b = 6;
[a, b] = [b, a];
// Destructuring Assignment Array Matching
ga7axy
let a = 5, b = 6;
[a, b] = [b, a];
// Destructuring Assignment Array Matching