#14 JavaScript Tutorial | Functions

preview_player
Показать описание
Functions are one of the fundamental building blocks in JavaScript.
A function is a JavaScript procedure—a set of statements that performs a task or calculates a value.
A JavaScript function is a block of code designed to perform a particular task.
A JavaScript function is executed when “something” invokes it (calls it).
Why Functions?
You can reuse code: Define the code once, and use it many times.
You can use the same code many times with different arguments, to produce different results.
Video by - Tanmay Sakpal
Рекомендации по теме
Комментарии
Автор

Its a very important video for JavaScript novice learners. Friends, learn more by playing with functions and do experiments on your own.

yt.user-zull
Автор

superbly explained.thanks a lot.in detailed you have explained.i got function theory correctly from this only.

warnithathilakarathna
Автор

or
function addNums(x, y){
c=x+y
document.write( "<br>" +"Addition is " + c )
}
addNums(2, 5)
will work fine

jvcreator
Автор

Thanks sir for this videos on javascript

reshmagaikwad
Автор

You should have shown how function helps in not making repetition

dulalmedhi
Автор

Great video. Btw along with _ we can also use $ in between variable names

chethanprabhu
Автор

When we are not using return addition takes place and we don't need to store in another variable but when we use return we need a variable to store details why?

bikram
Автор

Bro .... please make another video on Call back function or higher order function... because call back function is little more tricky....

unbiasedclip
Автор

Hi Tanmay, Great tutorials..one small suggestion, You can hide the file explorer on the left hand side in VS code to get more space for your browser or html page

ankireddyambati
Автор

nice explanation sir ..but why can't we use let instead of var..? though var has the power of redeclaration.

PrithigaRamalingam
Автор

Make one dedicated video on Data structures plz

thenewway
Автор

Hi sir i just love your tutorials felt a fish out of water at school when i coundnt understand javascript you please provide a css tutorial as well ....

anshikachowdhury
Автор

Nice explanation..brother..god bless u

sshvibha
Автор

What is the benefit of using return statement when we can easily get output by calling function name as well. Please Clear me out.

gurjeetsingh-qpwp
Автор

Sir how return works please explain with a video

beautieshelp
Автор

Sir can u explain why +total+ in between strings

harishankathi
Автор

Why we need to return values when we can get output without using return and printing values in function block

surajmahato
Автор

why didn't we declared the variables a and b?
for eg: var a;
var b;

meghnasharma
Автор

still i have to know y we are using the return returns to where?

joshuajash
Автор

i noted that .the word output automatically changed

joshuajash
visit shbcf.ru