[6] pry(main)> [1,2,3].min +1 => [1] [7] pry(main)> [1,2,3].min + 1 => 2
I'm blown away. it must be something to do with the min function i suppose? because max has the same issue but not sum
min
max
sum
没有评论:
发表评论