%%js
// Your code here:
let string1 = "string";
let string2 = "skib";
let string3 = "idk random words";
console.log("Length of string1:", string1.length);
console.log("Length of string2:", string2.length);
console.log("Length of string3:", string3.length);
console.log("string1 first:", string1[0], "last:", string1[string1.length - 1]);
console.log("string2 first:", string2[0], "last:", string2[string2.length - 1]);
console.log("string3 first:", string3[0], "last:", string3[string3.length - 1]);
/
let combinedSentence = string1 + " " + string2 + " " + string3;
console.log(combinedSentence);
// String interpolation (template literals)
let interpolatedSentence = `The phrase "${string1} ${string2} ${string3}" is made of three strings.`;
console.log(interpolatedSentence);
<IPython.core.display.Javascript object>