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