You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					10 lines
				
				307 B
			
		
		
			
		
	
	
					10 lines
				
				307 B
			| 
								 
											3 years ago
										 
									 | 
							
								var restArguments = require('./restArguments.js');
							 | 
						||
| 
								 | 
							
								var difference = require('./difference.js');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Return a version of the array that does not contain the specified value(s).
							 | 
						||
| 
								 | 
							
								var without = restArguments(function(array, otherArrays) {
							 | 
						||
| 
								 | 
							
								  return difference(array, otherArrays);
							 | 
						||
| 
								 | 
							
								});
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = without;
							 |