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