Help with multiple inputs for javascript

So i was making a project about JavaScript codification, and I came across this road bump:
image
it turns out that codification joins multiple inputs by spaces, and not like a javascript array. and i don't know how to remove these extra spaces. Can anybody help me?

map delimeter to ,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.