mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
activate for loop test
This commit is contained in:
parent
e3764913c3
commit
2a45895a62
@ -240,9 +240,9 @@ public class ControlFlowOperators extends AbstractBaseTest {
|
||||
@Export
|
||||
static int forLoop() {
|
||||
int a = 0;
|
||||
// for( int i=0; i<10;i++) {
|
||||
// a += i;
|
||||
// }
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
a += i;
|
||||
}
|
||||
return a;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user