1
00:00:00,670 --> 00:00:02,300
Welcome back, my friends.

2
00:00:02,680 --> 00:00:09,010
So in this section, we're going to learn all about JavaScript functions and this is another important

3
00:00:09,010 --> 00:00:11,770
topic that we're going to use for the rest of the course.

4
00:00:13,160 --> 00:00:15,020
So it's going to be a whole lot of fun.

5
00:00:15,080 --> 00:00:16,100
I guarantee you.

6
00:00:17,720 --> 00:00:23,390
In fact, maybe he it's the most important part of JavaScript, so you tell me at the end.

7
00:00:25,040 --> 00:00:31,700
Now, in order to be able to work with JavaScript, we need to understand how functions work precisely.

8
00:00:32,390 --> 00:00:39,510
So functions are the building blocks of everything in JavaScript or OK, almost everything.

9
00:00:39,830 --> 00:00:41,990
So in this section, we're going to focus on functions.

10
00:00:43,340 --> 00:00:48,120
So I'd say pretty much there are three main objectives to this section.

11
00:00:48,710 --> 00:00:53,690
First one will include function declarations and function expressions.

12
00:00:54,670 --> 00:00:59,320
We're going to see where these are and how they're similar, as well as how they're different.

13
00:01:00,190 --> 00:01:05,350
So two ways of writing functions, basically, I want you to be able to write both of them.

14
00:01:06,650 --> 00:01:13,820
Now, the next objective is to explain the difference between console dialogue, something and return

15
00:01:14,030 --> 00:01:14,600
something.

16
00:01:15,520 --> 00:01:23,650
So return is indeed a special word, it's a key word in JavaScript that does a particular special something

17
00:01:23,980 --> 00:01:25,620
and that you're going to see in the section.

18
00:01:26,410 --> 00:01:30,630
Up until this point, we've used console dot log, I think.

19
00:01:30,640 --> 00:01:31,780
Yeah, pretty much always.

20
00:01:32,590 --> 00:01:35,890
But we're going to see the return statement as well.

21
00:01:36,070 --> 00:01:36,430
All right.

22
00:01:38,050 --> 00:01:46,510
And then the third objective is I'd like you to be able to define your own functions, whether their

23
00:01:46,510 --> 00:01:49,810
function declarations or function expressions.

24
00:01:51,730 --> 00:01:54,070
Don't worry, that will become a whole lot clearer once, you know.

25
00:01:56,120 --> 00:01:59,510
Because then we're going to see how to pass arguments to a function.

26
00:02:00,340 --> 00:02:08,020
All right, so this is the video where we sort of outlined and gave an overview perhaps about what we're

27
00:02:08,020 --> 00:02:13,960
going to learn going forward about functions, we can take a break here and continue in the next section.
