# Week 3 - Arrays, Strings, Loops, and Dates

# String Objects

Strings are one of the Primitive values that we have in JavaScript. However, because there are so many things that we tend to do to manipulate Strings, there is also a String Object.

JavaScript actually creates this String Object for you automatically, behind the scenes, any time you have a variable and you assign the variable a String primitive value.

Learn about manipulating Strings

# Date Objects

JavaScript has a built-in Date object which is used to store a reference to a specific moment in time.

Learn about the Date Object

# Arrays

Arrays are lists. You want to work with a list of values? Then you likely need an Array. Arrays will be one of the core Objects that you work with continually in Javascript.

Learn more about Arrays

# for Loops

Imagine that you had an Array with 15,000 names inside it. Now imagine that you need to console.log all 15,000 names in the Array.

Want to write console.log 15,000 times?

No? Let's talk about Loops

# Compound If Statements

When writing an if statement sometimes you want to check the value of two variables at the same time and then do something if both meet your conditions or something if either meets your conditions.

The logical AND and OR operators are how we accomplish this.

Learn about logical operators

# TODO

TODO Before next week

  • If you have not read all these notes and watched the videos from this week, do that first.
  • Finish and submit the exercises Exercise 3 - Functions and Exercise 4 - Valid Functions this week, before 5pm on Tuesday.
  • Complete Hybrid 5 - Dates before next Monday at 5pm.
  • Read ahead the notes for week 4 to prepare for class and the quiz.
Last Updated: 9/9/2020, 6:45:18 PM