## Notes Simply a function that does not have a name. Used when a function does not need to be called multiple times in different places. ```javascript const greet = function() { console.log('greet'); } ``` ES6 introduced the arrow function as a shorter way of declaring an anonymous function. ```javascript const greet = () => { console.log('greet'); } ``` ## References - [[JavaScript Study MOC]] - [JavaScript Anonymous Functions - Geeks for Geeks](https://www.geeksforgeeks.org/javascript/javascript-anonymous-functions/)