← All examples Arrow function TypeScript Lambdas arrow + types Flowchart (ISO 5807) Flowchart Structogram StartInput xReturn x * xEndFigure 1 — square Source code const square = (x: number): number => x * x; Open in the editor