Ad
  • Default User Avatar

    The method * of the Array class has two uses:

    When its argument is a string (s), its equivalent to self.join(s) (s will separate the values of self)

    When it's an integer (n), it returns the concatenation of the array self n times.