mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 11:54:36 +00:00
AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope
This commit is contained in:
21
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestForIn.as
vendored
Normal file
21
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestForIn.as
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package tests
|
||||
{
|
||||
import flash.utils.Dictionary;
|
||||
|
||||
public class TestForIn
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var dic:Dictionary = null;
|
||||
var item:* = null;
|
||||
for (item in dic)
|
||||
{
|
||||
trace(item);
|
||||
}
|
||||
for each (item in dic)
|
||||
{
|
||||
trace(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user