javascript backticks and if statements

52

javascript backticks and if statements -

`${result['color'] ? 'color exists!' : 'color 5 does not exist!'}`

Comments

Submit
0 Comments