filmov
tv
Functions in JavaScript

Показать описание
🍒 Related Videos
💖 Channel Support
💌 For Business Inquiries
🚶♂️ Follow us
----
Functions in JavaScript.
Summary
Functions are the fundamental building blocks in JavaScript. It is a set of instructions to perform a particular action/ task. We've started the discussion - why do we need functions in the first place and the benefits of using JavaScript functions. It is important to know these basics, unfortunately, I don't see anyone explain these concepts.
There are two ways to define a JavaScript function, function declaration and Function Expression. we've compared and contrast them with examples. Parameters are the variables that accept values within a function from outside. The values that we pass to a function are called Arguments. To return values from a function, we have the 'return' keyword.
Discussion @ times
--------------------------------
00:00 - Introduction.
00:43 - Why do we need a Function?
04:17 - Function Definition and Syntax.
06:47 - Parameters and Arguments.
08:24 - Benefits of Using Function.
14:17 - Default Parameters.
15:21 - Function Expression.
18:30 - Compare Function Expression with Declaration.
20:21 - Return Statement.
24:09 - Type of a Function
#JavaScript #JavaScriptBeginnersTutorial #CodAffection
💖 Channel Support
💌 For Business Inquiries
🚶♂️ Follow us
----
Functions in JavaScript.
Summary
Functions are the fundamental building blocks in JavaScript. It is a set of instructions to perform a particular action/ task. We've started the discussion - why do we need functions in the first place and the benefits of using JavaScript functions. It is important to know these basics, unfortunately, I don't see anyone explain these concepts.
There are two ways to define a JavaScript function, function declaration and Function Expression. we've compared and contrast them with examples. Parameters are the variables that accept values within a function from outside. The values that we pass to a function are called Arguments. To return values from a function, we have the 'return' keyword.
Discussion @ times
--------------------------------
00:00 - Introduction.
00:43 - Why do we need a Function?
04:17 - Function Definition and Syntax.
06:47 - Parameters and Arguments.
08:24 - Benefits of Using Function.
14:17 - Default Parameters.
15:21 - Function Expression.
18:30 - Compare Function Expression with Declaration.
20:21 - Return Statement.
24:09 - Type of a Function
#JavaScript #JavaScriptBeginnersTutorial #CodAffection
Комментарии