Quiz: What does this call to the web’s new fetch() API do? fetch("http://httpstat.us/500") .then(function() { console.log("ok"); }).catch(function() { console.log("error"); }); If you’re like me, you might assume this code logs “error” when run—but it actually logs “ok”. This expectation probably comes from years of jQuery development, as jQuery’s ajax() method invokes its fail handler when the re