六狼论坛's Archiver
首页
›
C++
› ruby数组倒叙
laiwuyaoguan
发表于 2013-2-5 02:17:21
ruby数组倒叙
Returns a new array containing self‘s elements in reverse order.
[ "a", "b", "c" ].reverse #=> ["c", "b", "a"]
[ 1 ].reverse #=>
页:
[1]
查看完整版本:
ruby数组倒叙