Sign in
webkit
/
WebKit
/
638dc2a5b318b1947a7d7dfea65bd7a046102318
/
.
/
JSTests
/
es6
/
template_strings_basic_functionality.js
blob: 865810a0131b5c740c4e2c4900895c1b7b4a1d77 [
file
] [
log
] [
blame
]
function
test
()
{
var
a
=
"ba"
,
b
=
"QUX"
;
return
`
foo bar
$
{
a
+
"z"
}
$
{
b
.
toLowerCase
()}`
===
"foo bar\nbaz qux"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);