Skip to content

Commit 27036c2

Browse files
committed
complted string studio section
1 parent 4712e14 commit 27036c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrays/studio/string-modification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ modifiedStr = lastStr.concat(firstStr);
99

1010

1111
//Use a template literal to print the original and modified string in a descriptive phrase.
12-
console.log(`We removed the first three letters "${firstStr}" from ${str} and added them to 3${lastStr} with the result of ${modifiedStr}.`);
12+
console.log(`We removed the first three letters "${firstStr}" from ${str} and added them to "${lastStr}" with the result of ${modifiedStr}.`);
1313

1414
//2) Modify your code to accept user input. Query the user to enter the number of letters that will be relocated.
1515
let userInput = input.question("Input the number of letters to be relocated: ");

0 commit comments

Comments
 (0)