I’ve been seeing code that looks like:
myObj.doSome("task").then(function(env) {
// logic
});
Where does then()
come from?
I’ve been seeing code that looks like:
myObj.doSome("task").then(function(env) {
// logic
});
Where does then()
come from?