Posts by Filipe • 1 point
1 post
-
0
votes0
answers43
viewsQ: String Insert in Ruby for JS
how can I make the code below in Ruby for JS. (3...value_size).step(3) { |num| value.insert(value_size - num, separator) } To step I think of that loop for (var i = 3; i < value_size; i += 3),…