I have an 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 that all sentences in the array can be divided by . , and I need to make the logical template algo to make the sentence meaningful by taking the array in the reverse order and return the words at the end. if u read it last, because i.am.new.to.coding , taking the last spit value from each sentence, finally makes a meaningful sentence. I am trying to create such code in javascript or jquery and I am stuck with this for more than a day. since it is so difficult.
any script expert plz will help to do this. I appreciate your help. TIA
source share