what is a ternary operator in javascript 32 What Is A Ternary Operator In Javascript The ternary operator is used to execute code based on the result of a binary condition. It takes in a binary condition as i… Written By Susan R. Robinson Thursday, April 12, 2018 Add Comment Edit