Sign in
webkit
/
WebKit
/
1f10227393c9dc21c9d2643241b56515c886ce78
/
.
/
LayoutTests
/
js
/
script-tests
/
concat-while-having-a-bad-time.js
blob: 2d55389ab295cea9603fbd85458bba418cca79ee [
file
] [
log
] [
blame
]
description
(
"Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating."
);
Object
.
defineProperty
(
Array
.
prototype
,
0
,
{
writable
:
false
});
shouldBe
(
"[42].concat()"
,
"[42]"
);