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