RUVIDEO
Поделитесь видео 🙏

Easy JavaScript - Intro to Custom JavaScript Functions (27)

📁 Обучение 👁️ 16 📅 29.11.2023

Welcome to the 27th Easy JavaScript tutorial, part of EasyProgramming.net. I apologize for the static in this video! I've gotten a new mic since this was recorded.

The next few tutorials will go over custom functions in JavaScript. We've used functions in the past in the Easy JavaScript series, and now it's time for a deeper dive.

A function is just a block of code designed to perform a particular task. Functions are also reusable. When you call a function, the proper term is invoking a function, and it can be invoked multiple times within the same script (or even from external scripts if a reference to the function definition exists).

Functions can be tied to buttons (which we saw in the onclick tutorial) and be used as methods in objects (something we will cover in another tutorial). They are delcared with the JavaScript reserved keyword named function followed by the name of the function. They can also be assigned to variables. And functions can either return values or just do a basic command and end.

Functions are normally found at the end of your script, or even a completely different file by referencing the file.

Parameters can be defined to receive values from another part of your script. The piece of code sending the parameter is called the argument.

To fork the fiddle and follow along: https://jsfiddle.net/easyjs/8wfvp50j/

For more information, please visit http://www.EasyProgramming.net to view my other programming tutorials! Find videos of C++ tutorials, Excel tutorials, and JavaScript Tutorials.

I hope you enjoy the video and if you have any questions, please ask in the comments below. If you have any requests feel free to let me know. Thanks for watching and remember to subscribe!

-----------

Subscribe on YouTube: https://www.youtube.com/c/nazmusnasir
Support me on Patreon: https://www.patreon.com/nazmus
Follow me on Twitter: https://twitter.com/NazmusN
Like me on Facebook: https://www.facebook.com/EasyProgrammingNet
Follow me on Google+: https://plus.google.com/+NazmusNasir
Check out my Github: https://github.com/naztronaut

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Easy JavaScript - Intro to Custom JavaScript Functions (27)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.