This is a follow-up of Why am I getting "Non-exhaustive patterns in function..." when I invoke my Haskell substring function?
myList contains the following values: value1 value2 value3 function showArray() { var txt = $(\"#myList\").text();