I have a array of strings like the example below
["i.was.wen.the.coding", "i.am.wen.to", "i.am.new", "i.am", "i"]
u can see all sentence in array can be split by . and I need to make logical algo pattern to create a sentence meaningful by taking the array in reverse and stitch back the words at the end. if u read it from last, as i.am.new.to.coding taking last spit value from each sentence makes a meaningful sentence at last. am trying to create such a code in javascript or jquery and am stuck with this for more than a day. since it is so tricky.
any script experts plz help to make this. I appreciate your help. TIA