The filtering reject value example at https://api.jquery.com/deferred.then/ is not valid since jQuery became Promises/A+ compatible. I guess the description of .then() method should also be updated