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