Open
Description
when i see Object.hasOwn
, I try it in my project, but I do not know if it can be support. I analyse @babel/preset-env
and find @babel/helper-define-polyfill-provider
. I find entry
or usage-global
or usage-pure
both call @babel/helper-define-polyfill-provider
's shouldInjectPolyfill
methods. in this, we can console tips to guide users what EcmaScript is not support and what to do that user to do. for example
Metadata
Assignees
Labels
No labels