Important Notice:

Course Content
Switch Statement
0/1
break and continue Statements
0/3
Basic Form Validation in JavaScript
0/1
JavaScript & Angular JS (Chapter- 6) M2-R5.1
About Lesson

Functions:-

              फ़ंक्शन स्टेटमेंट का एक सेट होता है जो इनपुट्स लेता है और कुछ specific calculation करता है और आउटपुट return करता है। यह मूल रूप से एक फ़ंक्शन स्टेटमेंट का एक सेट होता है जो कुछ कार्यों को करता है या कुछ calculation करता है और फिर users को result देता है। एक Function किसी भी Program की Value को प्राप्त कर सकता है और Return कर सकता है।  JavaScript Function की सहायता से आप अपने Program को कई कार्यों मे  used कर सकते है और Function की सहायता से आप अपने Program को बहुत आसानी से Managed कर सकते है। JavaScript मे Function Define करना बहुत आसान होता है। JavaScript मे Function को Define करने के लिए आप Function Keyword का उपयोग करते है।

Syntax

<script>  

 function functionName([arg1, arg2, …argN])

         {       

                //code to be executed    

          }

</script>

 

Functions:-

             A function is a set of statements that take inputs and perform some specific calculation and return output. It is basically a set of function statements that performs some tasks or performs some calculations and then returns the result to the users. A function can receive and return the value of any program. With the help of JavaScript Function, you can use your program in many tasks and with the help of Function, you can manage your program very easily. It is very easy to define a function in JavaScript. To define a function in JavaScript, you use Function Keyword.

Syntax

<script>  

 function functionName([arg1, arg2, …argN])

         {       

                //code to be executed    

          }

</script>

error: Content is protected !!