Alternatives to `preferNullPrototype`
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
Start with issue #24 and compare the proposed names against its stated constraints around Arrays, Objects, JSON import attributes, and allowed values. Done means the naming and scope question has a decided direction; no file or test entry point is mentioned in the payload.
索引モデルが issue の本文から書いたものです。
説明
preferNullPrototype is the current key name for the following reasons:
nullPrototypewas passed over because it is only the non-Array Objects that get null prototypes; Arrays do not.nullPrototypeForObjectsor similar was passed over because Arrays technically are Objects so this still has the same problem as (1)
While advancing this proposal to Stage 2.7, I think the committee was split on (1) but generally agreed that (2) is a bit too pedantic. So we are reconsidering names that somehow mention Object -- we heard the following in committee:
nullPrototypeObjects: boolean
nullObjectPrototype: boolean
We also heard the following:
objectPrototype: null | ???
This option opens the door do doing things like objectPrototype: MyThing.prototype where MyThing is some user-defined class. This would not be possible in import attributes, assuming we add this key to JSON import attributes. It also would expand the scope of this proposal considerably. So assuming we are not going to do that, null and undefined (which would lead to the default Object.prototype) would be the only permissible values for objectPrototype.
I think my current weak preference is for nullPrototypeObjects.
- 主要言語
- HTML
- スター
- 52
- フォーク
- 4
- 平均マージ
- 17時間 35分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tc39/proposal-json-parseimmutable のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tc39/proposal-json-parseimmutable#25 · コメント 5 件 · リアクション 2 件 ·
tc39/proposal-json-parseimmutable の issue をすべて見る
似ている issue
-
Moonshot: Kimi K3 always sends `reasoning_effort="max"`, though the API now accepts `low` and `high`オープンaccepted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
UKGovernmentBEIS/inspect_ai#5939 ·
メンテナーはふだん 1 日以内に返信
-
bug linux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Chained slog With calls discard previously bound attributes対応中かも @yuefdev が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug category:billing priority:p3 track:fast
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LanternOps/breeze#9223 ·
メンテナーはふだん 1 日以内に返信