Skip to content
Advertisement

Tag: facebook-javascript-sdk

[‘a’, ‘m’, ‘r’, ‘i’, ‘t’, ‘ ‘, ‘s’, ‘h’, ‘a’, ‘h’, ‘i’], After each ‘ ‘ in a word, would like to display the word. unable to display second word shahi

Would like to to display the word shahi as able to display first-word amrit after ”, is there any way to display last word using code. help appricated. Output: [‘a’, ‘m’, ‘r’, ‘i’, ‘t’] likewise i would like to display shahi if i console log. Answer You should have two control structures: The result array A buffer to store sub-words

Advertisement