JavaScript Functions | JavaScript Types of Function - JavaScript Tutorial 58

preview_player
Показать описание
Notes for You:: JavaScript Types of Function.
- Any function created using different ways of creating JavaScript functions, will be of one of the below mentioned type.

1. A function without parameters and without returning value:
Ex:
function wishHi(){
}
wishHi(); // Hi

2. A function without parameters and with returning value:
Ex:
function wishHi(){
return "Hi";
}

3. A function with parameters and without returning value:
Ex:
function wish(what){
}
wish(“good morning"); // good morning

Ex:
function add(num1,num2){
}
add(2,2); // 4

4. A function with parameters and with return value:
Ex:
function square(x){
return (x*x);
}

Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.

=========================================

Follow the link for next video:
JavaScript Tutorial 59 - Function Expressions in JavaScript | JavaScript Function Expressions

Follow the link for previous video:
JavaScript Tutorial 57 - Functions in JavaScript | JavaScript Function Declaration

=========================================

JavaScript Tutorials Playlist:-

=========================================
Watch My Other Useful Tutorials:-

jQuery Tutorials Playlist:-

jQuery UI Tutorials Playlist:-

Bootstrap Tutorials Playlist:-

=========================================

► Subscribe to our YouTube channel:

► Visit our Website:

=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
Рекомендации по теме
Комментарии
Автор

SUBSCRIBE, SHARE & SUPPORT:
VISIT & LEARN AT FREE OF COST:

ChidresTechTutorials
Автор

No more words sir🙏🙏🙏
Really U r expain is very simply and Good
In Youtube javascript tutorial No body tells like u....Am very Good because Am watch Your Channel ""'😘😘😘"""

dhanimudigonda
Автор

Excellent tutorial! I hope to see more like this!!

americanocoffee
Автор

I love you man! You helped my clarify the function a lot!

marionplaza
Автор

awesome sir keep it love your tutorial very much sir

saditmia
Автор

Without parameters, the function itself looks like static but adding the parameters make it dynamic so we could presents other values in the arguements.

ckbapps
Автор

Thank you for your great videos. They have helped me a lot!

TheRyanvandy
Автор

Document.write () and return value give the same result, so what is the difference of both? Reply

NaveenKumar-hwsd
Автор

Hi for the last function I don't get any output Is there something wrong with my code?

function square(x)
{
return (x*x);
}
square(5);

tristiandejong
Автор

Thank you for great videos, do you have a video how to store data in a cookie and then display the data on the website?

ghadirh
Автор

Sir JavaScript builtin functions konse hote

angadsingh
Автор

Do you have videos about object oriented programming?

tristiandejong
Автор

Hai sir, i made a small Program in javascript (loading bar) to which i have some confusion and cant make it work, i tried all way possible within my knowledge, can you please help me in what i missed ? i am learning javascript from this channel ! where can i share my code ? can i share the code here ? pls ?

mafiatimes
Автор

Sir, ap bohot acha study kerwatay hai lekin urdu man hota to bohot hi zaberdast hota Q k mostly english nahi samajhtay.

muhammadsaqlain
Автор

Can someone help me with some JavaScripts for this online game that I play it has many elements to it and I’m just trying to get some scripts to help make my game play easier

acethomas
Автор

This is not chidre sir voice am I right?😯

borntobeatheist
visit shbcf.ru