Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
JSTests
/
es6
/
template_strings_passed_array_is_frozen.js
blob: 9957c4e4358036b00c76c74d3a37b094484b4239 [
file
] [
log
] [
blame
]
function
test
()
{
return
(
function
(
parts
)
{
return
Object
.
isFrozen
(
parts
)
&&
Object
.
isFrozen
(
parts
.
raw
);
})
`
foo$
{
0
}
bar$
{
0
}
baz
`;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);