fix(curriculum): Remove quotes from object keys (#52437)

This commit is contained in:
Lasse Jørgensen
2023-11-28 08:54:55 +01:00
committed by GitHub
parent c12a1bb655
commit eca1ec1b4f

View File

@@ -76,9 +76,9 @@ assert(code.match(/testObj\.\w+/g).length > 1);
```js
// Setup
const testObj = {
"hat": "ballcap",
"shirt": "jersey",
"shoes": "cleats"
hat: "ballcap",
shirt: "jersey",
shoes: "cleats"
};
// Only change code below this line
@@ -90,9 +90,9 @@ const shirtValue = testObj; // Change this line
```js
const testObj = {
"hat": "ballcap",
"shirt": "jersey",
"shoes": "cleats"
hat: "ballcap",
shirt: "jersey",
shoes: "cleats"
};
const hatValue = testObj.hat;