mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-10 18:43:40 +00:00
25 lines
380 B
ActionScript
25 lines
380 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestIncDec4
|
|
{
|
|
|
|
public function run():*
|
|
{
|
|
var a:* = [1, 2, 3, 4, 5];
|
|
|
|
trace("a[2]++ with result");
|
|
trace(a[2]++);
|
|
|
|
trace("a[2]-- with result");
|
|
trace(a[2]--);
|
|
|
|
trace("a[2]++ no result");
|
|
a[2]++;
|
|
|
|
trace("a[2]-- no result");
|
|
a[2]--;
|
|
}
|
|
}
|
|
}
|