Make two variables equal at the same time in JavaScript

To make two variables equal at the same time in JavaScript:

javascript
let a = b = 9;

console.log(a);
// 9

console.log(b);
// 9 

Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.