If else statement. 6. // (condition) ? if : else. 7. let res = (1 > 3) ? "is greater" : "is less than";// "is less than". if shorthand typescript.
確定! 回上一頁