JavaScript entonces () método

promiseObject.then(onFulfilled, onRejected);
SAMER SAEID