I’ve been seeing code that looks like:

myObj.doSome("task").then(function(env) {
    // logic
});

Where does then() come from?

12 Answers
12

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *