#Why cant I assign a value to this variable, even tho it is not a constant? (JavaScript, THREE.js)

3 messages · Page 1 of 1 (latest)

rocky cape
#

Where the red arrow is it says: JSHint: Attempting to override 'scene' which is a constant.(E013)

But as u can see in the screenshots, it is not a constant. Why doesnt this work? Im using webstorm.
Thanks for your time.

#

Those are two different files btw.

marble pumice
#

Am I missing something? Scene() is not a method within the THREE class.