Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

deferred promise testing es6

var deferreds = [];
var p = new Promise(function(resolve, reject){
    deferreds.push({resolve: resolve, reject: reject});
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deferred #promise #testing
ADD COMMENT
Topic
Name
3+9 =