Arrow Function
A compact function expression written with the => symbol.
What is Arrow Function in JavaScript?
Arrow Function — A compact function expression written with the => symbol.
const total = (price, quantity) => price * quantity;
Level: Apprentice · More JavaScript terms at this level
Updated