In this tutorial, you'll learn what an anonymous function is in JavaScript and when and why you might want to use one.
In a previous JavaScript essentials lesson, we looked at how to create functions in different ways and then call those functions to run code at any point in your programs.
We actually did come across a JavaScript anonymous function in that lesson without even realising it. Quite simply, an anonymous function in JavaScript is one which doesn't have an explicit identifier assigned to it.
In the tutorial, i'll highlight how to identify an anonymous function and take you through a specific example where we use the JavaScript built in settimeout function to call an anonymous function. Channel Handle @codebubb
Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript Essentials: Anonymous Functions durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code With Bubb 10 avril 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 14,247 fois et il a aimé 305 téléspectateurs. Bon visionnage!