📜  javascript in line logic - Javascript代码示例

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

代码示例1
var a = 2;
var b = 3;    
var c = ((a < b) ? 'minor' : 'major');