Completed fourth exercise
This commit is contained in:
parent
a4c8df3240
commit
49743d45ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue