This block can be replaced with `var text = Array(actionArgs.repeat).join(text)`.