What is "Functions" in JavaScript Tutorial in Hindi / Urdu |
In this tutorial, we will learn the how to use of "functions" in JavaScript with easy and best explanation. | JavaScript Tutorial | Learn JavaScript for Beginners.
What is "functions" in JavaScript?
A function is a block of code that performs a particular task.
A JavaScript function is executed when "something" invokes it (calls it).
‘Function Invocation (Calling)’ in JavaScript?
The code inside the function will execute when "something" invokes (calls) the function:
1. When an event occurs (when a user clicks a button)
2. When it is invoked (called) from JavaScript code
3. Automatically (self invoked)
Advantages of Functions?
1. Function makes the code reusable.
2. Define the code once, and use it many times.
3. Function increases readability.
4. You can use the same code many times with different arguments, to produce different results.
5. Function makes the program easier as each small task is divided into a function.
"for of" loop : • "for in" loop in JavaScript | for in ...
"continue" tutorial : • Continue Statement in JavaScript | ...
"while loop" tutorial : • while Loops in JavaScript | JavaScrip...
"for loop" tutorial : https://www.youtube.com/watch?v=ZDONe...
"If else if" statement : https://www.youtube.com/watch?v=fEO5Y...
In this Video Tutorial I will give you full training about "functions" in JavaScript with easy and best explanation.
If you like this JavaScript tutorial please leave comment in comment box.─
🎬 VIDEO CHAPTERS AND CONTENT
0:00 Intro
0:05 About Functions introduction
0:14 What is Functions?
0:48 How invoke/calling works in functions
1:26 Advantages of functions
3:22 Syntax of functions
5:26 Lets do practice in Code Editor
7:00 How to use function in program
8:23 How invoke/calling function works
11:00 Like, Share & Subscribe
If you like this video, then please do like it, share it, & subscribe to our channel for more videos and don't forget to press the Bell Icons.
------- Our Services are
🔴 Visit us : https://glowviatech.com
►►►for any type of work like Web-App development, E-commerce, Graphic, Print, Digital Marketing & Social Media Post Maker etc :
#functions
#function
#functioninjavascript
#javascriptfunctions
#syntaxoffunctions
#javascriptfunctionsstatement
#whatisfunctioninjavascript
#whatisfunctions
#javascripttutorialforbeginners
#javascripttutorialforbeginnersinhindi
#javascripttutorialforbeginnersinurdu