you want `let` in ES6
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let