As a junior developer, you should know about these 10 JavaScript functions

Md. Miftahul Islam
2 min readMay 5, 2021
javaScript code

01. string.charAt(index): Returns the char at the position has given.

02. string.replace(oldValue, newValue): Replaces old value with new value.

03. number.parseInt():

04. array.concat(): Make all elements together.

05. array.join(): Joins the elements of an array.

06. array.pop(): Removes the last string or element of an array.

07. array.push(): Add elements to the end of an array.

08. array.reduce(): This function reduces the numbers and gives the total value of numbers as a result.

09. array.slice(): Selects the elements of the given index (if the given index are (4,5), it will select index 4).

10. array.splice(): Removes elements at the given index(here you can see (3, 1) the given values. 3 is the index and 1 is the number of elements that have to remove. So, we removed 1 element at the index of 3).

Thanks for reading my blog.

--

--