JavaScript: Functions

Go to class
Write Review

Free Online Course: JavaScript: Functions provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. JavaScript: Functions is taught by Ray Villalobos.

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