This is a Javascript/WebAssembly build of the “SubtractOne” example patch.
Click here to view the source code.