Starting JavaScript Pseudocode for Duel 1 assignment