CIS 119 Chapter 7

Objectives

  • Use methods of the Number object in JavaScript
  • Use methods of the Date object in JavaScript
  • Use methods of the String object in JavaScript

Online notes for the week

Chapter 7 outline

  • Number methods
  • Generating a random integer within a range from min through max: num = Math.floor(Math.random() * (max-min+1) + min)
  • String methods
  • Date methods