https://medium.com/@sagarkarotia/javascript-array-manipulation-understanding-the-differences-between-slice-and-splice-6e10aed01380