Last active
March 1, 2017 01:28
-
-
Save ajcrites/3295220ea563fd0768d19b7ccc2f886d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 fo = async ({stuff, userId}) => { | |
| await new Promise(resolve => { | |
| setTimeout(() => resolve(), 500); | |
| }); | |
| console.log(stuff, userId); | |
| }; | |
| fo({stuff: "a", userId: "b"}); |
This file contains hidden or 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
| { | |
| "babel": { | |
| "env": { | |
| "development": { | |
| "presets": [ | |
| ["env", | |
| { | |
| "targets": { | |
| "node": 4.3 | |
| } | |
| }] | |
| ] | |
| } | |
| } | |
| }, | |
| "scripts": { | |
| "start": "babel-node ." | |
| }, | |
| "dependencies": { | |
| "babel-cli": "^6.23.0", | |
| "babel-preset-env": "^1.1.10" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment