E.g.
function log(x) { console.log(x); }
var preDefinedFunc = () => log(2);
preDefinedFunc();
This will print '2' when run.
How is the predefined function stored? Is it a js object with a reference to log() and another entry for the parameters? Something like:
{ func: ..., params: { ... }}