`Y.extend(Subpromise, Promise, null, { reject: Promise.reject });` if you're into one liners :)