Skip to content

Fix incorrect array slicing parameters - #254

Closed
icecream17 wants to merge 1 commit into
liquidcarrot:masterfrom
icecream17:patch-1
Closed

Fix incorrect array slicing parameters#254
icecream17 wants to merge 1 commit into
liquidcarrot:masterfrom
icecream17:patch-1

Conversation

@icecream17

Copy link
Copy Markdown

Ugh I keep getting this error. I put in so many layers!!!!
image

I looked at the code to try to do it myself but I ended up finding a bug instead.

Code changed:
Array.slice(0, -1) instead of Array.slice(Start at length - 1)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice

Ugh I keep getting this error whyyy. I put in 100 LAYERS! 

Well because of a bug.
Array.slice(0, -1) instead of Array.slice(Start at length - 1)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
@raimannma

Copy link
Copy Markdown
Member

See #258

@raimannma raimannma closed this Dec 16, 2020
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.

2 participants