Debian Codegraph @

js/src/tests/test262/language/statements/continue/no-label-continue.js

raw
1 // Copyright (C) 2014 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 13.12
5 description: >
6 no label continue
7 ---*/
8 var count = 0;
9 for (let x = 0; x < 10;) {
10 x++;
11 count++;
12 continue;
13 }
14 assert.sameValue(count, 10, "The value of `count` is `10`");
15
16
17 reportCompare(0, 0);