GulfOfMexico
GulfOfMexico copied to clipboard
next previous is undefined behaviour
I think you should be able to do
const var x = 0
x += 1
// x == 1
x += 1
// x == 2
addEventListener("click", () => x++)
print(await next next previous previous previous x)!
and get the output
1