Change a variable
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
Change a variable
You can put a new value in the same box. The newest value is the one that stays.
Set x to 1, then change x to 9, then print x. It shows 9.
Click Run to see the output here.