Language concepts
Function composition
Combines functions so one function’s result is the input of another. This example is right-to-left and synchronous.
Formal Syntax & Structure
javascript syntaxjavascript
x => f(g(x))Working Example
Example Snippetjavascript
const f=x=>x*3,g=x=>x+1;console.log(f(g(2)));