Learn JavaScript

Lesson 9 of 9 · Types, Operators and Coercion: Why '5' + 2 Is Not 7

Module 2 · Types, Operators and Coercion: Why '5' + 2 Is Not 7

Module Test: Types and Coercion

FreeModule test

Questions on the lessons of this module. It is marked, and at the end you see every answer explained.

questions
10
to pass
70%
to take it again
Any time

What it covers

  1. 1Two Values Meet an Operator: The Picture
  2. 2Every Operator, One by One
  3. 3Full Programs: Converting on Purpose
  4. 4When to Use == and When Not, and the Other Judgement Calls
  5. 5Under the Hood: The Abstract Equality Algorithm and Floating Point
  6. 6Interview Pack: Output Puzzles, the Questions and the Bug Gallery
  7. 7Cheat Sheet: Types, Operators and Coercion on One Page