checkPurchases() {
            this.clickPurchases.forEach((item) => {
                if (this.clicks >= item.cost) {
                    item.HTMLreference.disabled = false
                } else {
                    item.HTMLreference.disabled = true
                }
            })
        }
/**
         * Enables buttons of items that can be purchased, and disables buttons that cannot be purchased.
         */
Enables buttons of items that can be purchased, and disables buttons that cannot be purchased.
Enables buttons of items that can be purchased and disables buttons that cannot be purchased .
checkPurchases() {
            this.clickPurchases.forEach((item) => {
                if (this.clicks >= item.cost) {
                    item.HTMLreference.disabled = false
                } else {
                    item.HTMLreference.disabled = true
                }
            })
        }
checkPurchases ( ) { this . clickPurchases . forEach ( ( item ) => { if ( this . clicks >= item . cost ) { item . HTMLreference . disabled = false } else { item . HTMLreference . disabled = true } } ) }
Enables buttons of items that can be purchased, and disables buttons that cannot be purchased.
Enables buttons of items that can be purchased and disables buttons that cannot be purchased .