JavaScript then () метод

promiseObject.then(onFulfilled, onRejected);
SAMER SAEID