Array.fillwith()

Revision as of 04:11, 1 April 2020 by Devika (talk | contribs) (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Array.fillwith(Numbers)

  • Fill the array with numbers provided.
  • Repeat the numbers if fewer than size specified.

|3|.fillwith(1..10)

1 2 3
4 5 6
7 8 9

|2x3|.fillwith(#a..z)

a b c
d e f

See Also