Baheeg Training and Test Exam

Site Development Associate (1D0-61B)

Score: 0 / 0 answered

Progress: 0 of 881 qs

time elap: 00:00

Question 1: What will be the output of the following code?

let a = 1;
let b = 2;
[a, b] = [b, a];
console.log(a, b);