結果 : why we use ternary operator in javascript