splitListStrUsingComma function

JS task splitListStrUsingComma completed and commented.