Here is my link to assessment which is objectBasics 3.
I m not getting the o/p.
If you want to use variables in strings you need to change '
(single quotes) to `
(backticks). This is called a “template literal”.
Cheers,
Michael
Oh no, I am sorry @mikoMK, it was very basic, I was checking my code again and again, but was unaware of this tiny mistake.
Thank you.
1 Like
Yeah, that happens sometimes. The more you look, the less you see.
1 Like