I opened a bug for this but the bug still exists. I wouldn’t bother you if I didn’t think it was important to get some resources on it.
There are some variable names that the lint program thinks are defined in some outer context. So when you try to define them you get a warning in the form of a yellow triangle.
The warning is Redifinition of…
When you try to reference one of them you get another yellow triangle:
The warning is Read only.
As you can imagine this is very confusing to the students. It wouldn’t be a high priority in my opinion if it wasn’t on such ubiquitous variable names such as name, speed, and location.
Of the three
speed seems to be defined as a function in
location are undefined in
window, but cause a warning anyway.
This is only a warning from the lint program so it doesn’t affect how it runs.
My students and I are using Chrome OS 86 with the Chrome browser. You could test this in other environments to see what happens or if it is just us.