mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-30 00:50:57 +00:00
29 lines
521 B
ActionScript
29 lines
521 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestIncDec13
|
|
{
|
|
public function run():*
|
|
{
|
|
var a:* = [1,2,3,4,5];
|
|
|
|
trace("++a[this.f()] with result");
|
|
trace(++a[this.f()]);
|
|
|
|
trace("--a[this.f()] with result");
|
|
trace(--a[this.f()]);
|
|
|
|
trace("++a[this.f()] no result");
|
|
++a[this.f()];
|
|
|
|
trace("--a[this.f()] no result");
|
|
--a[this.f()];
|
|
}
|
|
|
|
private function f():int
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|