Javascript Tutorial in Hindi - 23 parameterized function in Javascript

preview_player
Показать описание
#parameterized function in Javascript

In javascript, the function can be written with the parameter or without parameter.

The function definition and real values passed to the function in the function definition are known as arguments. Parameter Rules: There is no need to specify the data type for parameters in JavaScript function definitions.

In JavaScript, a parameter has a default value of undefined. It means that if you don't pass the arguments to the function, its parameters will have the default value i.e undefined.
Рекомендации по теме
welcome to shbcf.ru