list_of


list_of(obj, n)
      

Return a list with n instances of obj.

Examples:


list_of("hello", 3)
// ["hello", "hello", "hello"]
      

Also see:

range
copy_list


Core Module Index | Contents