• @Gordon. But there are still some var statements left, e.g. line 58

    The ones inside a function are fine since they are defined at function scope anyway. It's just the ones in global scope that need to change...

  • The ones inside a function are fine since they are defined at function scope anyway. It's just the ones in global scope that need to change...

    Is this true for variables declared without any initiating keyword before them as well? Is x = 42; the same as var x = 42; in that regard?

About

Avatar for Ganblejs @Ganblejs started