jspm_packages/system-polyfills.src.js
function resolve(x) {
			return isPromise(x) ? x
				: new Promise(Handler, new Async(getHandler(x)));
		}
function resolve(x) {
			return isPromise(x) ? x
				: new Promise(Handler, new Async(getHandler(x)));
		}
function resolve ( x ) { return isPromise ( x ) ? x : new Promise ( Handler , new Async ( getHandler ( x ) ) ) ; }
Returns a trusted promise. If x is already a trusted promise, it is
returned, otherwise returns a new trusted Promise which follows x.
@param  {*} x
@return {Promise} promise
Returns a trusted promise . If x is already a trusted promise it is returned otherwise returns a new trusted Promise which follows x .