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