Trip cost splitter

The submit handler throws an uncaught TypeError. The page listens on window.error, sends the failed code and inputs to the model, and asks it to return what the function should have returned.

Trip details

Result

  • submit the form to see the split