function decreaseElement(element) {
		if (amountToSubtract > 0) {
			// eslint-disable-next-line no-param-reassign
			element.percentageShown -= 1;
			// eslint-disable-next-line no-param-reassign
			amountToSubtract -= 1;
		}
	}
/**
	 * This function decrease the percentage shown & the amount to subtract by 1
	 * @param {object} element the current element
	 */
This function decrease the percentage shown & the amount to subtract by 1
@param {object} element the current element
This function decrease the percentage shown & the amount to subtract by 1 @param { object } element the current element
function decreaseElement(element) {
		if (amountToSubtract > 0) {
			element.percentageShown -= 1;
			amountToSubtract -= 1;
		}
	}
function decreaseElement ( element ) { if ( amountToSubtract > 0 ) { element . percentageShown -= 1 ; amountToSubtract -= 1 ; } }
This function decrease the percentage shown & the amount to subtract by 1
 @param {object} element the current element
This function decrease the percentage shown & the amount to subtract by 1 @param { object } element the current element
// eslint-disable-next-line no-param-reassign // eslint-disable-next-line no-param-reassign