Skip to content

Commit 7ee3281

Browse files
authored
fix(curriculum): allow any inventory array declaration in Inventory Management Program (freeCodeCamp#60606)
1 parent 17603b1 commit 7ee3281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

curriculum/challenges/english/25-front-end-development/lab-inventory-management-program/66d75dd0aa65a71600dc669b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
3030
You should declare an empty array named `inventory`.
3131

3232
```js
33-
assert.match(__helpers.removeJSComments(code), /(let|const)\s+inventory\s*=\s*\[\s*\]\s*;?/)
33+
assert.match(__helpers.removeJSComments(code), /(let|const|var)\s+inventory\s*=\s*\[\s*\]\s*;?/)
3434
```
3535

3636
You should have a function named `findProductIndex`.

0 commit comments

Comments
 (0)