Doesn't total need to be a function since at the end we are calling it as a function?:
console.log("Your total is " + cashRegister.total());