Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A one-line package broke `npm create-react-app`. Parent comment
Promise.resolve({then: () => console.log('called')})
Promises autoflatten since you can't have Promise<Promise<T>>, so you'll see that this code prints 'called'.
There are no comments on this comment yet.
Promise.resolve({then: () => console.log('called')})
Promises autoflatten since you can't have Promise<Promise<T>>, so you'll see that this code prints 'called'.