Nick And Spread Method In Js