Const tersedia untuk ES versi 6

Add a file named .jshintrc to your project and inside this file type this.

{
    "esversion": 6
}
Adventurous Armadillo