三目运算符 a ? b : c简单理解方式为: if(a) { return b;} else { return c;} 转载于:https://www.cnblogs.com/liuxgcn/p/11219651.html