mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): clarify greeting bot hint (#61758)
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ Your `botIntroduction` variable should hold the value of a string.
|
||||
assert.isString(botIntroduction);
|
||||
```
|
||||
|
||||
You should use string concatenation with the `+` operator to join the string `"My name is "` with the `bot` variable followed by a period (`.`). Be mindful of spaces.
|
||||
You should use string concatenation with the `+` operator to join the string `"My name is "` with the `bot` variable followed by a period (`.`). Be mindful of spaces. Assign this concatenated string to the `botIntroduction` variable.
|
||||
|
||||
```js
|
||||
assert.equal(botIntroduction, "My name is teacherBot.");
|
||||
|
||||
Reference in New Issue
Block a user