The Journey of #100DaysOfCode (@Nisrine_bg)

𝗗𝗮𝘆 21 - Anonymous Functions in JavaScript​

Sharing @Amir_BouGhanem post on Anonymous Functions:

Anonymous functions are functions that are not identified by a variable name, or in other words, of unknown name. They offer concise, easy to read code, and are recommended over regular functions for short term-use. Anonymous functions are wonderful when paired with functions that are executed upon declaration, such as with put, patch, post and all server-side requests in addition to timeout functions, and much more!

3 Likes