You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -653,7 +653,7 @@ You can download the PDF and Epub version of this repository from the latest run
653
653
654
654
6. ### What is the purpose of the array splice method
655
655
656
-
The **splice()** method is used either adds/removes items to/from an array, and then returns the removed item. The first argument specifies the array position for insertion or deletion whereas the option second argument indicates the number of elements to be deleted. Each additional argument is added to the array.
656
+
The **splice()** method is used either adds/removes items to/from an array, and then returns the removed item. The first argument specifies the array position for insertion or deletion whereas the optional second argument indicates the number of elements to be deleted. Each additional argument is added to the array.
657
657
658
658
Some of the examples of this method are,
659
659
@@ -9069,4 +9069,4 @@ The questions provided in this repository are the summary of frequently asked qu
0 commit comments