Skip to content

Update script.js#1

Open
gaizkamg wants to merge 1 commit intoromeojeremiah:masterfrom
gaizkamg:patch-1
Open

Update script.js#1
gaizkamg wants to merge 1 commit intoromeojeremiah:masterfrom
gaizkamg:patch-1

Conversation

@gaizkamg
Copy link

The length of the array wil be -1 the order of the array. Array order 0-5, array lenght 6. So Math.random()*colors.length+1 will drop some undefined positions.

The length of the array wil be -1 the order of the array. Array order 0-5, array lenght 6. So Math.random()*colors.length+1 will drop some undefined positions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant