Closed
Bug 1817593
Opened 2 years ago
Closed 2 years ago
I can't use "values" as a variable in JavaScript
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1385198
People
(Reporter: pzsixtus, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Steps to reproduce:
const values = [3, 11, 7, 2, 9, 10];
let sum = 0;
for (let i = 0; i < values.length; i++)
{
sum += values[i];
}
console.log(sum);
Expected results:
42
The above issue is with regard to the "Web Developer Tools"
![]() |
||
Updated•2 years ago
|
Component: Untriaged → Console
Product: Firefox → DevTools
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1385198
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•