You can’t modify
const variables… try changing it to
const variables are read-only, so if you define them, you’re not gonna be able to change them.
let, on the other hand, has the ability to be changed, similar to
You can read through @stetim94’s answer to this here:
Hope this helps!
Oh careless me! Always miss out on simplest little details like that. @stevencopeland thanks for pointing that out! Appreciate it.