Mole Unearther

Hi, here’s the link to this project:

https://www.codecademy.com/paths/create-video-games-with-phaser/tracks/game-dev-learn-javascript-function-and-scope/modules/game-dev-project-functions-and-scope/projects/mole-unearther

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

Hey @kotham!

This is a problem a lot of people are running into. I recommend submitting a bug report on the project and then continue to use Firefox for Codecademy.