mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-03 06:01:16 +00:00
21 lines
294 B
ActionScript
21 lines
294 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestForEach
|
|
{
|
|
public function run():*
|
|
{
|
|
var list:Array = null;
|
|
var item:* = undefined;
|
|
list = new Array();
|
|
list[0] = "first";
|
|
list[1] = "second";
|
|
list[2] = "third";
|
|
for each (item in list)
|
|
{
|
|
trace("item #" + item);
|
|
}
|
|
}
|
|
}
|
|
}
|