Last active
June 18, 2019 16:26
-
-
Save Gaafar/5f10e86ab571dfdad7084c5df0663435 to your computer and use it in GitHub Desktop.
syntax-promise
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const makeRequest = () => | |
getJSON() | |
.then(data => { | |
console.log(data) | |
return "done" | |
}) | |
makeRequest() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment