Hi, here’s the link to this project:
First question: Why won’t the program run if I use basic function declarations instead of arrow function declarations? For example for Task 9, if I declare the function using: function onBurrowHit(key){…}, the program will not run. But if I declare using: const onBurrowHit = (key) => {…}, the program will run. Why?
Second question: Why will the program only run on Firefox and not IE or Chrome?
Thanks,
Kin-On