JavaScript: Functions & Arrays in JavaScript


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

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.



Expected Duration (hours)
1.8

Lesson Objectives

JavaScript: Functions & Arrays in JavaScript

  • discover the key concepts covered in this course
  • define basic functions and invoke them in JavaScript
  • recognize how the var, let, and const keywords affect the accessibility of variables in JavaScript functions
  • distinguish between the var and let keywords when it comes to the scope of JavaScript variables
  • define functions using the concise syntax available in the ES6 specifications for JavaScript, including the use of arrow functions
  • manage errors in your application, whether they are raised by JavaScript or by your own logic using try, catch, and finally blocks
  • create arrays and access and iterate over their elements
  • use the rest parameter syntax to create functions with an undefined number of parameters
  • use the spread operator to expand the contents of arrays
  • break down and access the components of arrays with array destructuring
  • generate deep and shallow copies of arrays and add and remove array elements
  • insert elements into the middle of arrays using splice and create slices of arrays using the slice method
  • use the concat method to combine the contents of arrays and arrange array elements using the sort and reverse methods
  • summarize the key concepts covered in this course
  • Course Number:
    it_apcgjsdj_04_enus

    Expertise Level
    Beginner