DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
making promises in js
getData() .then(data => console.log(data)) .catch(error => console.log(error));
Source by scotch.io #
PREVIOUS
NEXT
Tagged:
#making
#promises
#js
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit