How to split string to array by comma using jQuery?

In this tutorial im going to use split () function used to split a string into array of substrings and return in to a new array. Below…