Sign in
webkit
/
WebKit
/
98c995bc48b46e12cd73dbe994c0d66e35daac07
/
.
/
JSTests
/
stress
/
flatten-object-zero-unused-inline-properties.js
blob: 6fe5a14c4958b1bb2df691b182f09926d83aa290 [
file
] [
log
] [
blame
]
let o
=
{
foo
:
1
,
bar
:
2
,
baz
:
3
};
if
(
$vm
.
inlineCapacity
(
o
)
<=
3
)
throw
new
Error
(
"There should be inline capacity"
);
delete
o
.
foo
;
$vm
.
flattenDictionaryObject
(
o
);
o
.
foo
=
1
;