Write function that passes the 1st test
This commit is contained in:
		
							parent
							
								
									034c0b6c1c
								
							
						
					
					
						commit
						167042a03b
					
				| 
						 | 
				
			
			@ -1,5 +1,6 @@
 | 
			
		|||
const removeFromArray = function() {
 | 
			
		||||
 | 
			
		||||
const removeFromArray = function(arr, item) {
 | 
			
		||||
	let removedArr = arr.splice((item - 1), 1);
 | 
			
		||||
	return arr;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// Do not edit below this line
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue