mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-13 01:33:51 +00:00
AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope
This commit is contained in:
16
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestTernarOperator.as
vendored
Normal file
16
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestTernarOperator.as
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestTernarOperator
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var a:* = 5;
|
||||
var b:* = 4;
|
||||
var c:* = 4;
|
||||
var d:* = 78;
|
||||
var e:* = a == b ? c == d ? 1 : 7 : 3;
|
||||
trace("e=" + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user