Fill function in an array of objects

Yeah, use random but store it in the constructor so it doesn’t change.

1 Like