JS: Promise.reject

By Xah Lee. Date: .
work in progress
Promise.reject(r)

returns a new promise rejected with the passed argument.