Functions allow you to factorize code to avoid redundancy. In JavaScript, you can create functions that return a result or not (thus acting like a procedure). Variables are global by default and are recognized throughout the script and also within functions. To make a variable local, you precede it with the var keyword.
Auf dieser Seite können Sie das Online-Video Javascript (3) - Functions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Mohamed Chiny 27 Dezember 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14,928 Mal angesehen und es wurde von 198 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!