Can you use string interpolation for objects?

say I have an object …

let myObject = {
 one: 'smth here',
 two: 'smth here',
 three: 'smth here',
}

… and I want to put one of those values into one of my strings. Is it possible to just do ${myObject.one} inside the string, or do I need to do something else?

3 Likes

Should work! Try it! :slight_smile:

2 Likes