Створення форматора рядків

let lowercaseWord = “camelcase”;

let camelCasedVersion = lowercaseWord.slice(0, 5);

console.log(“Camel cased version:”);

console.log(camelCasedVersion);

console.log(lowercaseWord.slice(0, 5) + lowercaseWord[5].toUpperCase());

Чому показую помилку, в консолі правильна відповідь camelC згідно завдання

Please post a link to the challenge.

And re-post your code formatted as follows:

When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.