forked from JavaTX/JavaCompilerCore
9 lines
153 B
Plaintext
9 lines
153 B
Plaintext
|
import java.lang.Boolean;
|
||
|
import java.lang.Integer;
|
||
|
|
||
|
public class Test {
|
||
|
fac = (x) -> {
|
||
|
if (x == 1) { return 1; }
|
||
|
return x * fac.apply(x - 1);
|
||
|
};
|
||
|
}
|