lambda expressions - mmedrano9438/peripheral-brain GitHub Wiki

JavaScript Lambda Functions Are Pure... For example, we could write: const square = (value) => value ** 2; We get the value and return its square. This remains constant regardless of what happens outside. It’s just an expression that creates a function.