Случайный клиент симулятора очереди Время прибытия

in coffeescript:

b = (a.splice(0, len) while a.length)

demo 
a = [1, 2, 3, 4, 5, 6, 7]

b = (a.splice(0, 2) while a.length)
[ [ 1, 2 ],
  [ 3, 4 ],
  [ 5, 6 ],
  [ 7 ] ]
0
задан Brian Tompsett - 汤莱恩 8 November 2015 в 10:07
поделиться