Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
1
reputation
1

LivingLife

Just a random profile on the internet!

Always keep your Promises

let safe_division = (x: Promise<number>, y: Promise<number>): Promise<number> => {
return x.then(x_value =>
    y.then(y_value =>
        y_value == 0 ? Promise.reject() : Promise.resolve(x_value / y_value)))
}
  • Member for 5 days
  • 7 profile views
  • Last seen May 15 at 9:41

Top network posts

We respect a laser-like focus on one topic.

Keeping a low profile.

This user hasn't posted yet.

Badges (1)

Gold

Silver

Bronze

1

Rarest