max = Math.max(max, playGame(THREES)); max = Math.max(max, playGame(FIVES)); max = Math.max(max, playGame(SEVENSmax = Math.max(max, playGame(FOUR_OF_A_KIN
很明显,4大于0,此时Math.max =4。then a = 4 and b = 5, then Math.max = 5then a = 5, and b = 3arr[0].reduce(function(a, b){return Math.max(0, 4);}));arr[0].reduce(function(a, b){return Math
delay : 200; Java发出警告消息Can be replaced with 'Math.max' call为了这个。Here我看到了Math.max(a, b)实际上与(a > b) ? a : b所以三元运算符并不比Math.max那么为什么呢?Java替换三元运算符没有任何优势,则会发出此警告消息。Math.max方法调用?