Sign in
webkit
/
WebKit
/
c70b37a6ab650230cb78b0a9021c262059cf20b2
/
.
/
JSTests
/
es6
/
const_basic_support_strict_mode.js
blob: e3ef981e3a8359849d9a48e7265e53a74df78e34 [
file
] [
log
] [
blame
]
function
test
()
{
"use strict"
;
const
foo
=
123
;
return
(
foo
===
123
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);