Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394908
error-stack-installable.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
404 B
Subscribers
None
error-stack-installable.js
View Options
var
fails
=
require
(
'../internals/fails'
);
var
createPropertyDescriptor
=
require
(
'../internals/create-property-descriptor'
);
module
.
exports
=
!
fails
(
function
()
{
var
error
=
Error
(
'a'
);
if
(
!
(
'stack'
in
error
))
return
true
;
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
Object
.
defineProperty
(
error
,
'stack'
,
createPropertyDescriptor
(
1
,
7
));
return
error
.
stack
!==
7
;
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:31 PM (9 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3362701
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment