Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vagrant@ubuntu-xenial:/async-generators-test$ npm i -S typescript ts-node
- ...omitted...
- vagrant@ubuntu-xenial:/async-generators-test$ node --version
- v9.11.1
- vagrant@ubuntu-xenial:/async-generators-test$ npm ls ts-node
- /async-generators-test
- └── ts-node@6.0.0
- vagrant@ubuntu-xenial:/async-generators-test$ npx ts-node --harmony_async_iteration index.ts
- > .exit
- vagrant@ubuntu-xenial:/async-generators-test$ npx tsc -p tsconfig.json
- vagrant@ubuntu-xenial:/async-generators-test$ node --harmony_async_iteration index.js
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
Add Comment
Please, Sign In to add comment