An arrow function is defined using the _________ symbol.
- =>
- ->
- function
- =
An arrow function is defined using the => (fat arrow) symbol. This concise syntax is a shorthand for writing simple, one-liner functions in JavaScript. It's especially useful for functions that have no side effects and return a single expression. The => symbol distinguishes arrow functions from traditional function declarations.
Loading...