Edfora interview question

Q: Split/Slice in javascript.