Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9313171
correct-prototype-getter.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
290 B
Subscribers
None
correct-prototype-getter.js
View Options
var
fails
=
require
(
'../internals/fails'
);
module
.
exports
=
!
fails
(
function
()
{
function
F
()
{
/* empty */
}
F
.
prototype
.
constructor
=
null
;
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
return
Object
.
getPrototypeOf
(
new
F
())
!==
F
.
prototype
;
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 11:26 AM (5 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3340656
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment