JavaScript: Functions & Arrays in JavaScript
Beginner
- 14 Videos | 1h 44m 13s
- Includes Assessment
- Earns a Badge
Learners will discover ways to define and use functions in Javascript, where functions are considered first-class members, in this 14-video course. Explore features of arrays in Javascript, as well as their role in functions. Key concepts covered here include the basic functions and how to invoke them in Javascript; recognizing how var, let, and const keywords affect accessibility of variables in Javascript functions; and how to distinguish between var and let keywords when it comes to scope of variables. Learn to define functions by using concise syntax in ES6 specifications for Javascript; learn to manage errors in an application, whether raised by Javascript or by your own logic using try, catch, and finally blocks; and learn how to create arrays and access and iterate over their elements. Next, learn to use rest parameter syntax to create functions; use the spread operator to expand the contents of arrays; and break down and access components of arrays with array destructuring. Finally, learn how to generate deep and shallow copies of arrays and add and remove array elements.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursedefine basic functions and invoke them in JavaScriptrecognize how the var, let, and const keywords affect the accessibility of variables in JavaScript functionsdistinguish between the var and let keywords when it comes to the scope of JavaScript variablesdefine functions using the concise syntax available in the ES6 specifications for JavaScript, including the use of arrow functionsmanage errors in your application, whether they are raised by JavaScript or by your own logic using try, catch, and finally blockscreate arrays and access and iterate over their elements
-
use the rest parameter syntax to create functions with an undefined number of parametersuse the spread operator to expand the contents of arraysbreak down and access the components of arrays with array destructuringgenerate deep and shallow copies of arrays and add and remove array elementsinsert elements into the middle of arrays using splice and create slices of arrays using the slice methoduse the concat method to combine the contents of arrays and arrange array elements using the sort and reverse methodssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 2sUP NEXT
-
2.An Introduction to Functions in JavaScript7m 11s
-
3.Global and Local Variables - Part 18m 47s
-
4.Global and Local Variables - Part 28m 49s
-
5.Working with Functions9m 55s
-
6.The Fundamentals of Error Handling9m 42s
-
7.Creating Arrays9m 54s
-
8.Rest Parameters in JavaScript7m 42s
-
9.The Spread Syntax for Arrays8m 10s
-
10.Destructuring Arrays5m 43s
-
11.Copying Arrays8m
-
12.Splicing and Slicing Arrays7m 26s
-
13.Concatenating and Sorting Arrays9m 51s
-
14.Course Summary1m 6s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.