I am trying to define an array on es6 and I am getting Use of future reserved word in strict mode. This is my attempt:
{let colours = ["green","yellow","red"]}
What could be the reason?
I am trying to define an array on es6 and I am getting Use of future reserved word in strict mode. This is my attempt:
{let colours = ["green","yellow","red"]}
What could be the reason?