https://jhapriti09.medium.com/difference-between-slice-and-splice-method-in-javascript-with-examples-75a5960b30e3