{"provider_url":"https://hatena.blog","description":"\u304a\u3055\u3089\u3044: prototype JavaScript \u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u307f\u3093\u306a prototype \u3068\u3044\u3046\u306e\u3092\u6301\u3063\u3066\u3044\u3066, \u3053\u306e prototype \u304b\u3089\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u7d99\u627f, \u3088\u308a\u6b63\u78ba\u306b\u306f, \u30d7\u30ed\u30d1\u30c6\u30a3\u30a2\u30af\u30bb\u30b9\u6642\u306b\u305d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5b58\u5728\u3057\u306a\u3051\u308c\u3070 prototype \u3092\u8fbf\u3063\u3066\u898b\u3064\u3051\u306b\u3044\u304f\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b. \u3042\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092 prototype \u3068\u3057\u305f\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b\u306b\u306f Object.create \u3092\u4f7f\u3046 (\u3042\u308b\u3044\u306f new \u6f14\u7b97\u5b50\u3084 __proto__ \u3092\u4f7f\u3063\u3066\u3082\u826f\u3044). const x = {}; x.foo = \"foo\"; const y = Object.create\u2026","width":"100%","blog_url":"https://susisu.hatenablog.com/","published":"2024-07-06 03:07:44","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsusisu.hatenablog.com%2Fentry%2F2024%2F07%2F06%2F030744\" title=\"Object.groupBy \u3067\u4f5c\u3089\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e prototype \u306f null - Object.create(null)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_title":"Object.create(null)","image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/susisu/","author_name":"susisu","categories":["TypeScript","JavaScript","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://susisu.hatenablog.com/entry/2024/07/06/030744","type":"rich","height":"190","title":"Object.groupBy \u3067\u4f5c\u3089\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e prototype \u306f null"}