compose string javascript backtick and if statement code example
Example: javascript backticks and if statements
`${result['color'] ? 'color exists!' : 'color 5 does not exist!'}`
`${result['color'] ? 'color exists!' : 'color 5 does not exist!'}`