Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

simple promise

getSomethingWithPromise()
  .then(data => {/* do something with data */})
  .catch(err => {/* handle the error */})
Source by zellwk.com #
 
PREVIOUS NEXT
Tagged: #simple #promise
ADD COMMENT
Topic
Name
9+5 =