code: function contains(collection, target) {
  	let containsTarget = false;
  	collection.some((object) => {
  		if (object === target) {
  			containsTarget = true;
  			return true;
  		}
  		return false;
  	});
  	return containsTarget;
  }
docs: /*
  eslint no-param-reassign: [
  "error",
  {
  "props": true,
  "ignorePropertyModificationsFor": [
  "$scope"
  ]
  }
  ]