CodeSandbox just released Sandpack, their in-browser javascript bundler and compiler, as an open source project. That means that Coda could integrate a realtime JavaScript engine right in Coda, perhaps via a /code command.
I’m going to see later if it’s possible to wrap this in a pack. That would be cool.