mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 20:04:37 +00:00
27 lines
296 B
ActionScript
27 lines
296 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestIfFinally
|
|
{
|
|
public function run():*
|
|
{
|
|
var a:int = Math.random();
|
|
if (a == 5)
|
|
{
|
|
try
|
|
{
|
|
trace("in try body");
|
|
}
|
|
catch (e:Error)
|
|
{
|
|
trace("in catch");
|
|
}
|
|
finally
|
|
{
|
|
trace("in finally");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|