test/script/basic/es6/for-let.js

Print this page

        

*** 24,34 **** /** * JDK-8051889: Implement block scoping in symbol assignment and scope computation * * @test * @run ! * @option --language=es6 */ "use strict"; for (let i = 0; i < 10; i++) { print(i); --- 24,35 ---- /** * JDK-8051889: Implement block scoping in symbol assignment and scope computation * * @test * @run ! * @option --language=es6 ! */ "use strict"; for (let i = 0; i < 10; i++) { print(i);