function removeFromArray(elements, value) {
	elements.splice(elements.indexOf(value), 1);
}
Removes a given value from a given array.
@param {any[]} elements An array to remove the specific element.
@param {any} value The value to be removed.
@returns {void}