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