回答編集履歴
1
転記→引用
test
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Stackoverflowに同じ趣旨の質問がありました。
|
4
4
|
https://stackoverflow.com/questions/35458183/why-is-proto-undefined-for-object-createnull
|
5
5
|
|
6
|
-
回答で引用されている主要箇所を
|
6
|
+
回答で引用されている主要箇所を引用します。
|
7
7
|
https://bugs.chromium.org/p/chromium/issues/detail?id=506166
|
8
8
|
|
9
9
|
> This is working as specified. ES6 `__proto__` is a getter defined on Object.prototype. For an object that doesn't have that in its prototype chain it is not accessible (just like, say, hasOwnProperty isn't). You need to use Object.getPrototypeOf instead.
|