mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 10:22:16 +00:00
fix(curriculum): clarify constant wording in workshop (#66039)
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ const str = "abcd";
|
||||
str.slice(0, 3); // "abc"
|
||||
```
|
||||
|
||||
Change the value of the `camelCasedVersion` from an empty string to the result of using the `slice()` method on the `lowercaseWord` variable. Pass in the number `0` and `5` which represent the start and end indices for the `slice()` method.
|
||||
You should change the existing `camelCasedVersion` assignment by replacing the empty string with `lowercaseWord.slice(0, 5)`.
|
||||
|
||||
Now you should see the word `"camel"` in the console.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user