Mission 32 / 52• Text Objects - Bracket Pairs
Brackets Review
Brackets, braces, and parentheses define virtually every modern programming syntax.
Bracket text objects review
- di{ / da{delete inside / around curly braces
- ci{ / ca{change inside / around curly braces
- ci( / di(change / delete inside parentheses
1function updateUser(id, payload) {2 const sanitized = sanitize(payload);3 return db.save(sanitized);4}Practice changing arguments with `ci(` and replacing function bodies with `ci{`.
Now it's your turn!
- Navigate to each green target across the code snippet.
- Use the motions and techniques learned in this lesson to land accurately on each target.
- See how fast you can complete 10 targets.
0/10
1function updateUser(id, payload) {2 const sanitized = sanitize(payload);3 return db.save(sanitized);4}NORMAL
00:00
NextCtrl+jDelete Inside Quotes