So I have this:
let total = newDealersDeckTotal.reduce(function(a, b) { return a + b; }, 0); console.log(total, \'t
Using async/await
async changeHandler(event) { await this.setState({ yourName: event.target.value }); console.log(this.state.yourName); }