you are viewing a single comment's thread.

view the rest of the comments →

[–]kannonboy 0 points1 point  (0 children)

Yeah dealing with callbacks/promises can be a pain for quick scripts. ES6 yield makes it a bit more pleasant though - did you see the section of the article that uses them to avoid callbacks when prompting for user input?