Question : concatenate a string
Answered by : worrisome-weevil-o91sok0cio1q
let myPet = 'seahorse';console.log('My favorite animal is the ' + myPet + '.'); // My favorite animal is the seahorse.
Source : https://endubueze00.medium.com/javascript-basics-string-concatenation-with-variables-and-interpolation-deba239debbe | Last Update : Sun, 06 Jun 21