Re:A one-line package broke `npm create-react-app`
by odensc on Saturday April 25, 2020 @01:43PM
(#22979750)
In theory `x instanceof Promise` would work, but the reason for this package is that there are many non-standard Promise implementations in the JS world.
[ Parent
| on HN ]
Re:A one-line package broke `npm create-react-app`
by exogen on Saturday April 25, 2020 @05:43PM
(#22981814)
It wouldn't work even if everything were native – see my reply above.