English 中文(简体)
标签:的问答
AS3 - 有条件的单班条AS3
原文:AS3 one-liner with conditionals

如何构建一个有条件的单线返回线?例如,如果我想返回中位数 : /// 假设分类输入数组返回 ((inputArray. 长度% 2)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\可以\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

热门标签