Release assert with <img usemap> in shadow tree
[WebKit-https.git] / JSTests / es6 / const_is_block-scoped_strict_mode.js
1 function test() {
2
3 'use strict';
4 const bar = 123;
5 { const bar = 456; }
6 return bar === 123;
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12