JSFiddle - React, Tailwind, and code Playground JavaScript let add = (x) => ((y) => x + y); let add2 = add(2); console.log(add2(5))