We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b53d7b commit 22a460aCopy full SHA for 22a460a
1 file changed
tests/HydraScript.IntegrationTests/Samples/exit_loop.js
@@ -0,0 +1,11 @@
1
+function f() {
2
+ let i = 0
3
+ while (true) {
4
+ if (i == 5 && i != 6) {
5
+ return
6
+ }
7
+ i += 1
8
9
+}
10
+
11
+f()
0 commit comments