Short-circuiting promises using timeouts in JavaScript

Short-circuiting promises using timeouts in JavaScript

More to explore