Skip to content

Commit c98ec82

Browse files
authored
Merge pull request #3647 from CJDumbleton/CJDumbleton-patch-1
Replace assignment with equals in Truncate the text task
2 parents 9270fe5 + 9ec34c6 commit c98ec82

File tree

1 file changed

+2
-2
lines changed
  • 1-js/05-data-types/03-string/3-truncate

1 file changed

+2
-2
lines changed

1-js/05-data-types/03-string/3-truncate/task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The result of the function should be the truncated (if needed) string.
1111
For instance:
1212

1313
```js
14-
truncate("What I'd like to tell on this topic is:", 20) = "What I'd like to te…"
14+
truncate("What I'd like to tell on this topic is:", 20) == "What I'd like to te…"
1515

16-
truncate("Hi everyone!", 20) = "Hi everyone!"
16+
truncate("Hi everyone!", 20) == "Hi everyone!"
1717
```

0 commit comments

Comments
 (0)