WebAssembly / WebAssembly/custom-descriptors

Enumerability of methods, getters, and setters

Open
#55 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
12
Forks
3
Avg merge
3d 2h
Merged PRs (30d)
1

Description

Normal methods, getters, and setters on JS classes are not enumerable, but it might be important for getters and setters to be enumerable to emulate normal own-properties. We could easily support this by using a bit in the method-kind specifier to say whether the property should be enumerable or not.

Does this sound useful?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the custom method-kind specifier and the existing enumerability behavior for normal methods, getters, and setters; done would require a decided design for representing and exposing getter/setter enumerability.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wasm
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.