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