New course! Every coder should learn Generative AI!
Try a free lesson0
I believe it is the string replication operation using '*' operator.
in python 'a'*-1 would return an empty string. But Ruby will not let you replicate a string negative times.