Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8322630
object-prototype-accessors-forced.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
492 B
Subscribers
None
object-prototype-accessors-forced.js
View Options
'use strict'
;
var
IS_PURE
=
require
(
'../internals/is-pure'
);
var
global
=
require
(
'../internals/global'
);
var
fails
=
require
(
'../internals/fails'
);
// Forced replacement object prototype accessors methods
module
.
exports
=
IS_PURE
||
!
fails
(
function
()
{
var
key
=
Math
.
random
();
// In FF throws only define methods
// eslint-disable-next-line no-undef, no-useless-call -- required for testing
__defineSetter__
.
call
(
null
,
key
,
function
()
{
/* empty */
});
delete
global
[
key
];
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 3, 7:40 AM (4 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3365514
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment