Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

JavaScript: Functions

via LinkedIn Learning

Overview

Learn the different ways of declaring and invoking JavaScript functions, the "subprograms" that power your code.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Using the exercise files
1. Getting Started
  • What are functions?
  • Declaring functions
  • Invoking functions traditionally
2. Function Invocation
  • Using functions as objects
  • Invoking instances through the constructor
  • Expanding functionality through prototype
  • Understanding call-and-apply invocation
  • Using the arguments parameter
  • Returning values
  • Challenge: Social media navigation
  • Solution: Social media navbar
3. Using Functions
  • Using anonymous closures
  • Understanding hoisting and variable scope
  • Creating and namespacing modules
  • Passing arguments and setting module defaults
  • Chaining module method calls
Conclusion
  • Next steps

Taught by

Ray Villalobos

Reviews

4.6 rating at LinkedIn Learning based on 82 ratings

Start your review of JavaScript: Functions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.