src/index.js
function _executeWish(wish, magicWord) {
  wish.action(wish, magicWord)
  const timesMade = wish.data.timesMade
  timesMade.total++
  timesMade.magicWords[magicWord] = timesMade.magicWords[magicWord] || 0
  timesMade.magicWords[magicWord]++
}
function _executeWish(wish, magicWord) {
  wish.action(wish, magicWord)
  const timesMade = wish.data.timesMade
  timesMade.total++
  timesMade.magicWords[magicWord] = timesMade.magicWords[magicWord] || 0
  timesMade.magicWords[magicWord]++
}
function _executeWish ( wish , magicWord ) { wish . action ( wish , magicWord ) const timesMade = wish . data . timesMade timesMade . total ++ timesMade . magicWords [ magicWord ] = timesMade . magicWords [ magicWord ] || 0 timesMade . magicWords [ magicWord ] ++ }
Calls the wish's action with the wish and
magic word as the parameters and iterates
the timesMade properties.

@param {wish} wish
@param {string} magicWord
@private
Calls the wish s action with the wish and magic word as the parameters and iterates the timesMade properties .