286201 (3) [Avatar] Offline
#1
The exercise n. 5 page 60 states:

After executing the following code snippet, what are the values of the message1 and message2 variables?
function getNinjaWieldingWeapon(ninja, weapon = "katana"){
  return ninja + " " + katana;
}

var message1 = getNinjaWieldingWeapon("Yoshi");
var message2 = getNinjaWieldingWeapon("Yoshi", "wakizashi");


in line 2 katana is not defined and should be replaced with weapon. The same in solutions page.
Thanks