Sobes.tech
Intern — Senior

Declaring a variable containing a deferred Promise

livecode

Task condition

Create a variable that will hold a Promise object. This Promise should resolve successfully, returning the value 1, but only after a delay implemented using setTimeout().