JSFiddle - React, Tailwind, and code Playground
by ckissi
JavaScript
let x = 5;
// Example 1: Updating multiple variables in a single line
let y = (x += 2, x *= 3, x -= 1, x); // y is assigned the final value of x after all the operations
console.log(y);