The answer is that new versions of Web APIs, such as the DOM, are not needed to make them usable from Wasm; the existing ...
The JSON Patch (RFC 6902) spec allows using a path segment of '-' with the add operation to append to the end of an array. The current jsondiffpatch RFC6902 apply implementation did not support '/-' ...