empty an array in react native
…