JavaScript Essentials: Date and Math Functions


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



Overview/Description
JavaScript has a comprehensive library of functions and objects for working with dates and times, and for mathematical manipulations. This course covers the date and time objects and methods, and how to use them, arithmetic and logic operators, and the methods and properties of the Math object.

Target Audience
Developers looking to skill up in JavaScript and anyone with an interest in writing JavaScript code

Prerequisites
None

Expected Duration (hours)
1.6

Lesson Objectives

JavaScript Essentials: Date and Math Functions

  • start the course
  • subtract dates and times in JavaScript
  • compare dates to one another in JavaScript
  • calculate elapsed time in JavaScript
  • use the getDay method and an array in JavaScript to figure out the days of the week
  • use the date object in JavaScript
  • work with bitwise logical operators to perform operations on binary numbers
  • use JavaScript to perform bit shifting operations
  • describe Increment and Decrement prefix and postfix operators
  • check equality and use the triple equal operator in JavaScript
  • use Euler's number and the logarithm math object properties
  • use the log2 and the log10 math object properties
  • use the PI math object property
  • use the Square Root Half and Square Root 2 math object properties
  • use the cosine, sine, and tangent math object methods
  • use the Arccosine, Arcsine, Arctangent, and Arctangent2 math object methods
  • use the absolute math object method
  • use the floor and ceiling math object methods
  • use the power and square root math object methods
  • use the exponent and log math object methods
  • use the min and max math object methods
  • use the round math object method
  • generate a random number between a range of values by using JavaScript
  • Course Number:
    sl_jsce_a05_it_enus

    Expertise Level
    Intermediate