エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
ES proposal: function-callable classes
This blog post describes the proposed ECMAScript feature “call constructor” (stage 1). Classes ca... This blog post describes the proposed ECMAScript feature “call constructor” (stage 1). Classes can’t be function-called in ES6 # In ECMAScript 6, classes can’t be function-called: class Point { constructor(x, y) { this.x = x; this.y = y; } } let p1 = new Point(1, 2); // OK let p2 = Point(3, 4); // TypeError For ES6, there was no categorical objection to classes being function-called. The error wa
2015/10/28 リンク