Hyperapp: Is there a reason why `var` is used instead of `const` in the whole project?

Created on 14 Jun 2018  路  1Comment  路  Source: jorgebucaran/hyperapp

It's not a big change but it could add a little bit to the intent of the code.

Inquiry

Most helpful comment

@nicu-chiciuc See: https://github.com/hyperapp/hyperapp/blob/master/CONTRIBUTING.md#style

The reason is that I want to avoid introducing a compile step in the project. It shows that Hyperapp is simple.

One day, when IE11 is no longer supported, we'll use const, arrow functions, etc.

>All comments

@nicu-chiciuc See: https://github.com/hyperapp/hyperapp/blob/master/CONTRIBUTING.md#style

The reason is that I want to avoid introducing a compile step in the project. It shows that Hyperapp is simple.

One day, when IE11 is no longer supported, we'll use const, arrow functions, etc.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jorgebucaran picture jorgebucaran  路  4Comments

SkaterDad picture SkaterDad  路  3Comments

rbiggs picture rbiggs  路  4Comments

dmitrykurmanov picture dmitrykurmanov  路  4Comments

ghost picture ghost  路  3Comments