As we begin to learn to program, we often write code that is very procedural, that is it usually runs from top to bottom and executes very linearly. This is because we are used to writing English papers or reading books, all of which are extremely linear in nature.
Programming on the other hand is non-linear in that the code we write usually focuses on accomplishing a specific unit of work and that unit of work is often done many times over the life of our executing program. It is for this very reason that the designers of JavaScript created what are called 'functions'. Functions are structures that allow developers to encapsulate code into specific units of work that can be called over and over again to accomplish work.
In this video, we learn about the basic syntax used to define functions within our code.
Sur cette page du site, vous pouvez voir la vidéo en ligne Episode 25: Basic Function Definition Syntax durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MemoryTin 06 août 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 29 fois et il a aimé 0 téléspectateurs. Bon visionnage!