Javascript Exercises | Hack Reactor Bootcamp Prep | Module1 | 054_getElementsAfter

Published: 13 April 2019
on channel: Astra Rai - The Sober Coder
36
1

Hack Reactor Bootcamp Prep
Module 1 JavaScript Exercises
Exercise 54 of 145

In this video, I solve the exercise 054_getElementsAfter. The 054_getElementsAfter has two parameters, array and n. This function selects and returns specific elements of a given array by using the splice () method. The splice() method adds/removes items to/from an array, and returns the removed item(s) (Resource, w3schools).

To understanding this exercise, one needs to have knowledge of the following:

-Functions
-Arguments and parameters
-Return statement
-Arrays
-How to select element in an index of an array
-splice () method

-Information on splice () method: https://www.w3schools.com/jsref/jsref...

-GitHub link to code: https://github.com/Astra-Rai/Hack-Rea...

-Codepen link to code: https://codepen.io/Astra_Rai/pen/LvjgQm

Connect with me:

Twitter:   / astrarai  
LinkedIn:   / astra-rai…  
Medium:   / astrarai  
GitHub: https://github.com/Astra-Rai


On this page of the site you can watch the video online Javascript Exercises | Hack Reactor Bootcamp Prep | Module1 | 054_getElementsAfter with a duration of hours minute second in good quality, which was uploaded by the user Astra Rai - The Sober Coder 13 April 2019, share the link with friends and acquaintances, this video has already been watched 36 times on youtube and it was liked by 1 viewers. Enjoy your viewing!