top of page
Search
zakariyesahid96

Concat,indexof,includes and reverse

  • Concat is used to merge arrays.

  • index of is used just like string.

  • join crates string from array.

  • reverse is used for reversing array.

  • slice copies portion of an array.

  • splice removes or replaces elements.

  • concat.array add array together for example:

let cats(‘blue,’kitty)

let dog= ('rusty,'wyatt')

Cats.concat dogs

2 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page