Test Cases (0/6)

      let student3 = student('Marcus'); student3.study();

    • student3.hp to return 9

    • let student3 = student('Marcus'); student3.study();

    • student3.int to return 11

    • let student3 = student('Marcus'); student3.study(); student3.study();

    • student3.hp to return 8

    • let student3 = student('Marcus'); student3.study(); student3.study();

    • student3.int to return 12

    • let student3 = student('Marcus');

    • student3.report() to return Marcus has hp of 10 and int of 10

    • let student3 = student('Marcus'); student3.study(); student3.study();

    • student3.report() to return Marcus has hp of 8 and int of 12

    Output
    Michael
      (0/300)