Sign in
chromium
/
external
/
WebKit_trimmed
/
b5f7f6360e8eae099033d4d3dad7a64029c24999
/
.
/
LayoutTests
/
fast
/
js
/
script-tests
/
const-without-initializer.js
blob: 49b8f0414ec45314ff5162ea23e3435cf4b4b25a [
file
] [
log
] [
blame
]
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'
);