📜  typescript if then 速记 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:23.208000             🧑  作者: Mango

代码示例2
const answer = x > 10 ? "greater than 10" : "less than 10";