Daniel Escobedo

Author

Daniel Escobedo

I'm a JavaScript developer who loves to code. I'm always reading and learning new technologies and tools to better my skills and workflow.

JavaScript Promises

A simple metaphor I've heard used before is that a Promise in JavaScript is like ordering a cheeseburger at a fast food restaurant. When you pay for the cheeseburger, they give you a receipt with an order number on it. That receipt represents...

Testing for NaN in ES6

Reliably testing for NaN has become much simpler (and safer) in ES6 using Number.isNaN( x ): a = "foo" * 2; b = "bar"; Number.isNaN( a ); // true Number.isNaN( b ); // false How is this different than the current isNaN( x )? We are trying...

Mastodon