JavaScript: Functions & Arrays in JavaScript

ECMAscript 2019    |    Beginner
  • 14 videos | 1h 44m 13s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 252 users Rating 4.7 of 252 users (252)
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 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

IN THIS COURSE

  • 2m 2s
  • 7m 11s
    In this video, you will learn how to define basic functions and call them in JavaScript. FREE ACCESS
  • Locked
    3.  Global and Local Variables - Part 1
    8m 47s
    After completing this video, you will be able to recognize how the var, let, and const keywords affect the accessibility of variables in JavaScript functions. FREE ACCESS
  • Locked
    4.  Global and Local Variables - Part 2
    8m 49s
    In this video, find out how to distinguish between the var and let keywords when it comes to the scope of JavaScript variables. FREE ACCESS
  • Locked
    5.  Working with Functions
    9m 55s
    During this video, you will learn how to define functions using the concise syntax available in the ES6 specifications for JavaScript, including the use of arrow functions. FREE ACCESS
  • Locked
    6.  The Fundamentals of Error Handling
    9m 42s
    In this video, find out how to manage errors in your application, whether they are raised by JavaScript or by your own logic using try, catch, and finally blocks. FREE ACCESS
  • Locked
    7.  Creating Arrays
    9m 54s
    In this video, you will learn how to create arrays and access and iterate over their elements. FREE ACCESS
  • Locked
    8.  Rest Parameters in JavaScript
    7m 42s
    In this video, find out how to use the rest parameter syntax to create functions with an undefined number of parameters. FREE ACCESS
  • Locked
    9.  The Spread Syntax for Arrays
    8m 10s
    In this video, you will learn how to use the spread operator to expand the contents of arrays. FREE ACCESS
  • Locked
    10.  Destructuring Arrays
    5m 43s
    In this video, find out how to break down and access the components of arrays using array destructuring. FREE ACCESS
  • Locked
    11.  Copying Arrays
    8m
    Learn how to generate deep and shallow copies of arrays and add and remove array elements. FREE ACCESS
  • Locked
    12.  Splicing and Slicing Arrays
    7m 26s
    In this video, learn how to insert elements into the middle of arrays using the splice method and create slices of arrays using the slice method. FREE ACCESS
  • Locked
    13.  Concatenating and Sorting Arrays
    9m 51s
    In this video, you will use the concat method to combine the contents of arrays and arrange array elements using the sort and reverse methods. FREE ACCESS
  • Locked
    14.  Course Summary
    1m 6s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 75 users Rating 4.6 of 75 users (75)
Rating 4.6 of 81 users Rating 4.6 of 81 users (81)
Rating 4.5 of 227 users Rating 4.5 of 227 users (227)