You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My solution was getting the expected output but not passing verification because 'You did not call then from function all'. As I was, and to make sure I wasn't going mad, I double-checked by copying and pasting the official solution. The same error is shown.
The text was updated successfully, but these errors were encountered:
I have this same issue for both resolve and reject. Code below is for resolve. The expected values are passing but the other tests of the "Promise Constructor", "fulfill" method and "then" method are not being recognized. Can you give me a clue ?
'use strict';
import {Promise} from "es6-promise"
function onResolved(d: string) {
console.log(${d});
}
function onRejected(d: string) {
console.log(${d});
}
let promise = new Promise((fulfill: Function, reject: Function) => {
for @codingdojo-dkitzmiller at least, my guess is that it has something to do with the fact that you are using typescript not es6.
For example, function onRejected(d: string) is typescript, specifically the d: script part.
My solution was getting the expected output but not passing verification because 'You did not call then from function all'. As I was, and to make sure I wasn't going mad, I double-checked by copying and pasting the official solution. The same error is shown.
The text was updated successfully, but these errors were encountered: