RosettaCodeData/Task/Repeat-a-string/Julia/repeat-a-string.julia

5 lines
100 B
Plaintext

@show "ha" ^ 5
# The ^ operator is really just call to the `repeat` function
@show repeat("ha", 5)