1
00:00:01,443 --> 00:00:03,665
We first looked at default parameters and

2
00:00:03,665 --> 00:00:05,818
how you can use the equal to sign to

3
00:00:05,818 --> 00:00:09,193
assign a default value to a parameter when

4
00:00:09,193 --> 00:00:12,776
defining a function. Then, we looked at

5
00:00:12,776 --> 00:00:14,776
rest parameters and how we can use the

6
00:00:14,776 --> 00:00:17,586
"... " notation with a parameter in our

7
00:00:17,586 --> 00:00:19,776
function definition, such that we can

8
00:00:19,776 --> 00:00:22,443
store a list of arguments as an array.

9
00:00:22,443 --> 00:00:24,543
Finally, we looked at the spread operator,

10
00:00:24,543 --> 00:00:26,776
which allows us to pass an array with the

11
00:00:26,776 --> 00:00:29,943
"... " notation and have its elements

12
00:00:29,943 --> 00:00:32,818
spread across various parameters. This

13
00:00:32,818 --> 00:00:35,715
wraps up our module and this course. By

14
00:00:35,715 --> 00:00:37,897
now, you should be familiar with all the

15
00:00:37,897 --> 00:00:40,109
different ways you can create functions in

16
00:00:40,109 --> 00:00:43,300
JavaScript to write modular, readable, and

17
00:00:43,300 --> 00:00:45,243
reusable code. With some practice and

18
00:00:45,243 --> 00:00:47,109
effort, writing and working with functions

19
00:00:47,109 --> 00:00:49,443
in its various forms will become second

20
00:00:49,443 --> 00:00:51,943
nature to you. You can continue your

21
00:00:51,943 --> 00:00:56,000
journey to master JavaScript with several other courses on Pluralsight.

