if then else - promise?

Promise then this
True false undefined null NaN
Let const var
Switch break if else return
Fetch this promise

Did you find this post useful? Show some love!
DISCUSSION
Classic DEV Post from Jun 8

What interesting things I can do with npm?

This thread made me think that I want to get a better grasp of what I can do th...

Craig Butcher
Front End Web Developer and Designer, love talking about design, development, accessibility and having to master the art of parenting level six. Oh, and he has a rad bionic ear.

dev.to open source and it's magnificent

Sign Up