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