DEV Community

Discussion on: Arrow functions: a walkthrough and gotchas

Collapse
 
mayankjoshi profile image
mayank joshi

So, is it necessary for the variable to be constant?

Collapse
 
juanicolas profile image
JuaNicolas

No, it doesn't, but otherwise you can set another value to the variable.