Practice · 2 of 5
Two objects, one method
CHALLENGE
Difficulty: intermediate+25 XP
Complete Account.transferTo: on success both balances change; on failure NEITHER does. The failed branch leaving state untouched is the part being graded.
Press Submit to check your solution.
Back to lesson: Practice: Object workshop