3 ms·
That example could be written: .then(getFoo) .catch(err => 10) //some default value .then( (foo) =>
by BrandonM 10y ago
That example could be written:
.then(getFoo)
.catch(err => 10) //some default value
.then( (foo) =>
- norman784 10y agocool, learned something new