Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/webkitgtk/2.4
/
.
/
LayoutTests
/
js
/
script-tests
/
const-without-initializer.js
blob: 49b8f0414ec45314ff5162ea23e3435cf4b4b25a [
file
] [
log
] [
blame
] [
edit
]
description
(
'Tests that declaring a const variable without initializing has the correct behavior and does not crash'
);
const
f
;
shouldBe
(
'f'
,
'undefined'
);
f
=
10
;
shouldBe
(
'f'
,
'undefined'
);