Convert Result to ES6