Skip to content

chore: fix JavaScript lint errors (issue #6214)#10732

Open
travisbreaks wants to merge 1 commit intostdlib-js:developfrom
travisbreaks:fix/issue-6214
Open

chore: fix JavaScript lint errors (issue #6214)#10732
travisbreaks wants to merge 1 commit intostdlib-js:developfrom
travisbreaks:fix/issue-6214

Conversation

@travisbreaks
Copy link
Contributor

Description

Fix the doctest expected return value in @stdlib/proxy/ctor/lib/polyfill.js from 6.28 to 3.14. The polyfill is a stub that returns the target object directly without applying the proxy handler, so p.a returns 3.14 (the assigned value) rather than 6.28 (the doubled value the get handler would produce).

Related Issues

Resolves #6214

Checklist

AI Assistance

  • Yes

  • No

  • Code generation (e.g., when writing an implementation or fixing a bug)

  • Test/benchmark generation

  • Documentation (including examples)

  • Research and understanding

Co-authored-by: Egger egger@horny-toad.com

Fix the doctest expected return value in `@stdlib/proxy/ctor/lib/polyfill.js`
from `6.28` to `3.14`. The polyfill is a stub that returns the target object
directly without applying the proxy handler, so `p.a` returns `3.14` (the
assigned value) rather than `6.28` (the doubled value the handler would return).

Resolves stdlib-js#6214

Co-authored-by: Egger <egger@horny-toad.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stdlib-bot stdlib-bot added First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. and removed First-time Contributor A pull request from a contributor who has never previously committed to the project repository. labels Mar 6, 2026
@Planeshifter Planeshifter added status: Blocked Issue or pull request which is currently blocked. and removed Needs Review A pull request which needs code review. labels Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. status: Blocked Issue or pull request which is currently blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants