Slice() Method in Javascript | TechDiary