mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 09:57:27 +00:00
20 lines
249 B
ActionScript
20 lines
249 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestCallLocal
|
|
{
|
|
public function getF(): Function
|
|
{
|
|
return function(a:int, b:int):int {
|
|
return a + b;
|
|
};
|
|
}
|
|
|
|
public function run():*
|
|
{
|
|
var f:Function = getF();
|
|
var b:int = f(1, 3);
|
|
}
|
|
}
|
|
}
|