'use strict'; let total = 0; for (let index = 0; index < 3; index++) { total += index + 1; } console.log(total);