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