JavaScript nilai array peta ke vars tunggal

a1 = 1;
a2 = 2;
aa = [a1, a2];
[b1, b2]= aa;

console.log(b1, b2);
steamboatid