mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove backticks around console (#63927)
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ Use string concatenation to join the string `"My favorite subject is "` with the
|
||||
|
||||
Assign the result to the `favoriteSubjectSentence` variable.
|
||||
|
||||
Then, log the value of `favoriteSubjectSentence` to the `console`.
|
||||
Then, log the value of `favoriteSubjectSentence` to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
@@ -41,7 +41,7 @@ You should have a `console` statement in your code.
|
||||
assert.lengthOf(__helpers.removeJSComments(code).match(/console\.log(.*)/g), 8);
|
||||
```
|
||||
|
||||
You should log the value of `favoriteSubjectSentence` to the `console`.
|
||||
You should log the value of `favoriteSubjectSentence` to the console.
|
||||
|
||||
```js
|
||||
assert.match(__helpers.removeJSComments(code), /console\.log\s*\(\s*favoriteSubjectSentence\s*\)/);
|
||||
|
||||
Reference in New Issue
Block a user