I'm trying to randomly select items from my 'items' array, how do I make the randomly selected item the value of the 'randomItem' state? Heres what I have so far.
var items = ['joe', 'joe', 'mama', 'one direction went the other direction'];
this.state.randomItem items[Math.floor(Math.random()*items.length)]
export default class App extends Component {
state = {
randomItem: '',
}