Skip to content

RobStenning/visualArray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Visual Array

Using the buttons you can visualise how the basic array instance methods work. The array will be displayed and updated as you add or remove items.

To Add Items

push

.push inserts an umbrella emoji at the end of the array

unshift

.unshift inserts a lightning bolt emoji at the beggining of the array

insert at

Insert at uses the .splice method to insert a snowman emoji at the chosen index (use the dropdown selector)

Remove Items

pop

.pop removes from the end of the array

shift

.shift removes from the beginning of the array

remove at

Remove at uses the .splice to remove from the chosen index (use the dropdown selector)

Here it is in action

visualArray

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published