Skip to content

theadityaa/Learn-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD Method Description

concat() joins two or more arrays and returns a result

includes() checks if an array contains a specified element

push() adds a new element to the end of an array returns the new length of an array

unshift()

adds a new element to the beginning of an array and returns the new length of an array

pop()

removes the last element of an array and returns the removed element

shift()

removes the first element of an array and returns the removed element

sort()

sorts the elements alphabetically in strings and in ascending order

slice()

selects the part of an array and returns the new array

splice()

removes or replaces existing elements and/or adds new elements

Method Description
concat() joins two or more arrays and returns a result.
includes() checks if an array contains a specified element.
push() aads a new element to the end of an array and returns the new length of an array.
unshift() adds a new element to the beginning of an array and returns the new length of an array.
pop() removes the last element of an array and returns the removed element.
shift() removes the first element of an array and returns the removed element.
sort() sorts the elements alphabetically in strings and in ascending order.
slice() selects the part of an array and returns the new array.
splice() removes or replaces existing elements and/or adds new elements.

f1f3a02 (initailTest1)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published