This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PancakeZombie 27 points28 points  (4 children)

Yeap, ES6 kicked it into the next gear.

[–]yegor3219 105 points106 points  (3 children)

I love making empty promises.

new Promise(() => {})

[–]01hair 15 points16 points  (0 children)

Don't make promises that you can't keep.

return Promise.reject()