JSFiddle - React, Tailwind, and code Playground JavaScript function twice(f,x){ return f(f(x)); } function f(x){ return x*3; } twice(f,7);