This is a live editor. Editting input or patch will update revert instantly.

input

patch

revert

        
var applyResult = ooPatch.apply(input, patch, {reversible: true})
revert = ooPatch.buildRevertPatch(applyResult.revert)