I have a simple ajax request returning some data and then inserting into a template literal. I was wondering if it it possible to insert an \'if\' statement inside the template?
you can also do this
`${result['color 5'] && `Color 5 exists`}`