Sign in
webkit
/
WebKit
/
d158dceef24649669aba9fdeae8c00646ba7bdc2
/
.
/
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]"
);