📜  js 中 if 语句的简写 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:57.930000             🧑  作者: Mango

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

// or

if (something)
  return;
// other code here