Completed fourth exercise

This commit is contained in:
octopusGarden 2022-10-24 16:58:25 -04:00
parent a4c8df3240
commit 49743d45ee
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
const removeFromArray = function() {
const removeFromArray = function(list) {
//Remove third element from array
let remove = list.splice(2, 1);
return list;
};
// Do not edit below this line