Skip to content

Indexes of array items and array length#156

Open
dogusev wants to merge 2 commits into
brianleroux:masterfrom
dogusev:indexes-and-length-of-array
Open

Indexes of array items and array length#156
dogusev wants to merge 2 commits into
brianleroux:masterfrom
dogusev:indexes-and-length-of-array

Conversation

@dogusev

@dogusev dogusev commented Mar 19, 2019

Copy link
Copy Markdown

No description provided.

@dogusev

dogusev commented Mar 19, 2019

Copy link
Copy Markdown
Author

@brianleroux
Please take a look at this PR.
It seems that wtfjs.com wasn't updated for a long time...

@shaedrich

Copy link
Copy Markdown
Contributor

Yeah but push() and unshift() don't add elements in specific places of the array. splice() could theoretically do that, but only if the array already was of that size or bigger.

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