tc39 / proposal-source-phase-imports

Proposal to enable importing modules at the source phase
https://tc39.es/proposal-source-phase-imports/
MIT License
129 stars 9 forks source link

Normative: prefer returning undefined on the @@toStringTag getter #64

Closed legendecas closed 3 months ago

legendecas commented 3 months ago

Like %TypedArray%.prototype[@@toStringTag] getter, %AbstractModuleSource% should return an undefined for non-ModuleSource objects, instead of throwing.