Please enable JavaScript to use CodeHS

Chapter 2

Using Objects

2.6 String Objects: Concatenation, Literals & More

Introducing Strings

Concatenating Strings

Concatenating Strings with Primitive Data Types

Escape Sequences

Immutable Strings

String Concatenation

Rectangle Dimensions

Printing Equations

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Quote Machine