mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 16:31:56 +00:00
AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope
This commit is contained in:
26
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestDoWhile2.as
vendored
Normal file
26
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestDoWhile2.as
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestDoWhile2
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var k:int = 5;
|
||||
do
|
||||
{
|
||||
k++;
|
||||
if (k == 7)
|
||||
{
|
||||
k = 5 * k;
|
||||
}
|
||||
else
|
||||
{
|
||||
k = 5 - k;
|
||||
}
|
||||
k--;
|
||||
} while (k < 9);
|
||||
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user