mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-21 19:15:59 -05:00
975 B
975 B
id, title, challengeType, dashedName
| id | title | challengeType | dashedName |
|---|---|---|---|
| 660f09a2694b59c3a10ee304 | Step 23 | 1 | step-23 |
--description--
For now, remove your first console log and your rows[rows.length - 1] assignment. Leave the second rows log statement for later.
--hints--
You should remove your console.log(rows[0]) statement.
assert.notMatch(__helpers.removeJSComments(code), /console\.log\(\s*rows\[\s*0\s*\]\s*\)/);
You should remove your rows[rows.length - 1] reassignment.
assert.notMatch(__helpers.removeJSComments(code), /rows\[\s*rows\.length\s*-\s*1\s*\]/);
You should not remove your console.log(rows) statement.
assert.match(__helpers.removeJSComments(code), /console\.log\(\s*rows\s*\);/);
--seed--
--seed-contents--
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
--fcc-editable-region--
console.log(rows[0]);
rows[rows.length - 1] = 10;
--fcc-editable-region--
console.log(rows);