exercise 3 of 10
insert and append
i inserts before the cursor; there are faster ways in:
- A appends at the end of the line, I inserts at its first non-blank character.
- o opens a new line below, O above.
- Esc goes back to normal mode.
Each line needs a ;, and a new last line logs c.
try it
goal:
let a = 1; let b = 2; let c = a + b; console.log(c);