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