News for hackers. Stuff that matters.
Re:Pseudosynchronous JavaScript by inglor on Thursday June 25, 2015 @03:28PM (#9780358)
Both parts are incorrect, the native way is `Promise.resolve('done')`. As for .call - native promises let you subclass them. If you have a promise enabled environment you can use generators anyway. I used Q's syntax because that's what OP used.

Regardless - nice comment.

There are no comments on this comment yet.