babel / babel/babel-polyfills

Some cases of optional chaining on global proxies does not work properly

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
357
Forks
62
PR merge metrics
No merged PRs in 30d

Description

For example, `globalThis?.Array?.from`.

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported expression `globalThis?.Array?.from` in the Babel polyfills setup and compare its behavior with the expected optional-chaining semantics. Use the attached example as the only reported case; done means this global-proxy case works correctly without regressing related optional-chaining behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.