twice = (f) => {f(); f()} hi = () => {print("hi");}; twice(hi);
Output