Message from JavaScript discussions

April 2017

— Using Promise.resolve vs new Promise cause entirely different control flow btw


Any then methods will be invoked right away vs waiting for the promise function to throw resolve itself

— Can't use Promise.resolve everywhere though

— Why's that?

— So why do you want real classes?

— Wrapping callbacks or eventemitters

— I dont

— I want good class syntax

— Why not?

— Class syntax != real class

— I want actual good classes

— Try it