Permissions and filesystems #9
@ -11,7 +11,7 @@ public abstract class FunctionValue extends ObjectValue {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "function(...) { ...}";
|
return "function %s(...)".formatted(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract Object call(Context ctx, Object thisArg, Object ...args);
|
public abstract Object call(Context ctx, Object thisArg, Object ...args);
|
||||||
|
Loading…
Reference in New Issue
Block a user