Use of future reserved word in strict mode

Viewed 7664

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?

1 Answers
Related