JavaScript Operators, Arrays, and Functions


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Operators, arrays, and functions are the building blocks of JavaScript. In this course, you will learn about these features and get a deeper insight into how they can be used to create JavaScript apps.

Target Audience
Software developers familiar with JavaScript who want a refresher or to get a deeper understanding of JavaScript operators, arrays, functions, objects, and event handlers

Prerequisites
None

Expected Duration (hours)
1.7

Lesson Objectives

JavaScript Operators, Arrays, and Functions

  • start the course
  • use the assignment and arithmetic operators to manipulate numeric data
  • work with comma and string operators and recall how to concatenate strings and numbers
  • describe when to use comparison operators and the difference between the equality and identity operators
  • work with logical operators and describe how short-circuit evaluation can affect code
  • write more concise JavaScript code by using shorthand assignment operators
  • use various methods of array creation in JavaScript
  • manipulate arrays by adding and removing items
  • slice, splice, copy, and merge arrays
  • use various methods for iterating JS arrays
  • sort and reverse an array and use map to run functions against the array contents
  • describe function definitions and parameters, and understand how to return values from functions
  • specify the difference between function declarations and function expressions
  • recall how global and function scope work within JavaScript
  • define what happens in the compile phase of JavaScript programs
  • create and use closures in JavaScript and understand how to use Immediately Invoked Function Expressions (IIFEs)
  • create and use a closure in JavaScript
  • Course Number:
    os_dojs_a01_dt_enus

    Expertise Level
    Intermediate