Combine Functions into Class

refactorgram

function base(aReading) {...}
function taxableCharge(aReading) {...}
function calculateBaseCharge(aReading) {...}

image/svg+xml

class Reading {
  base() {...}
  taxableCharge() {...}
  calculateBaseCharge() {...}
}