JavaScript: Functions

JavaScript: Functions

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 27m | 209 MB

If you want to master JavaScript as a functional programming language, you need to know how to wield advanced techniques, and that means working with functions. In JavaScript, functions are the hidden but secretly powerful bones of your stacks. In this course, author Ray Villalobos explains how functions work, how they’re declared, and how you can invoke them more effectively to improve your web applications. Learn about the importance of essential functions like expressions, arguments, scope and hoisting, methods, and return. Along the way, Ray gives you tips on how to get the most out of more advanced features, particularly when you’re working with functions like arrow functions, constructors, recursion, asynchronous functions, and social media links. Be sure to check out the challenge exercises at the end of each section, testing out your new skills with interactive examples and live coding.

This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace. Check out the “Using GitHub Codespaces with this course” video to learn how to get started.

Table of Contents

1 Why are JavaScript functions essential
2 Using GitHub Codespaces with this course
3 Using the exercise files and slides

Function Essentials
4 The mechanics of functions
5 Mechanics of functions
6 Expressions
7 Arguments
8 Hoisting and scope
9 Methods
10 Return
11 Challenge Creating repeatable data
12 Solution Creating repeatable data

Function Patterns
13 Arrow functions
14 Constructors
15 Modules
16 Closures
17 Recursion
18 Asynchronous functions
19 Challenge Social media links
20 Solution Social media links

21 Going further