Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

promises in javascript

myPromise.then(
  function(value) { /* code if successful */ },
  function(error) { /* code if some error */ }
);
Source by programacionymas.com #
 
PREVIOUS NEXT
Tagged: #promises #javascript
ADD COMMENT
Topic
Name
1+3 =