I'm using browserify to run node.js code written in ES6 in Rhino, it seems to work except that Promises will not function properly.
Same code has no problem running inside JavaScriptCore or on an actual browser.
I have no idea where to begin, has anyone succeeded in using Promises within Rhino?