サクサク読めて、アプリ限定の機能も多数!
class で `static { ... }` のようなブロックが使えるようになる。スタティックメンバーの初期値の計算に複雑な処理が必要な場合などに便利
jay-es のブックマーク 2021/09/03 20:17
ES2022 feature: class static initialization blocks[ECMAScript][articles]class で `static { ... }` のようなブロックが使えるようになる。スタティックメンバーの初期値の計算に複雑な処理が必要な場合などに便利2021/09/03 20:17
このブックマークにはスターがありません。 最初のスターをつけてみよう!
2ality.com2021/09/01
The ECMAScript proposal “Class static initialization blocks” by Ron Buckton is at stage 4 and scheduled to be included in ECMAScript 2022. For setting up an instance of a class, we have two constru...
3 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /
class で `static { ... }` のようなブロックが使えるようになる。スタティックメンバーの初期値の計算に複雑な処理が必要な場合などに便利
jay-es のブックマーク 2021/09/03 20:17
このブックマークにはスターがありません。
最初のスターをつけてみよう!
ES2022 feature: class static initialization blocks
2ality.com2021/09/01
The ECMAScript proposal “Class static initialization blocks” by Ron Buckton is at stage 4 and scheduled to be included in ECMAScript 2022. For setting up an instance of a class, we have two constru...
3 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /