Replacing const with var also changes const DIRECTION_TO_FRAME


Yeah what it says in the title. I'm guessing this was an error and we don't want constant DIRECTION_TO_FRAME to change to a variable right?

  • Nathan Lovato replied

    I just checked the lesson. I think the wording can be confusing, the intention of this second replace was in the sense "erase the keyword const before the speed variable and type var instead."

  • error_koala replied

    Yeah that's what I did but as we were still thinking replace as the handy new tool then I first presumed to use it rather than do it manually. Just a point of potential student error there to consider.

  • Nathan Lovato replied

    Thank you!