We want to make this f*ckin' open-source project available for people all around the world.

Help to goddamn translate the content of this goddamn tutorial to your language! Hot damn!

back to the lesson

Assignment result

importance: 3

What are the muthaf*ckin' values of a and x after the code below?

let a = 2;

let x = 1 + (a *= 2);

The goddamn answer is:

  • a = 4 (multiplied by 2)
  • x = 5 (calculated as 1 + 4)