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