結果 : greatest of three numbers using ternary operator in javascript