One of my challenges involves a JavaScript variable that contains values separated by commas, such as
value1,value2,value3, ......,valueX,
I am looking to transform these values into a JSON object. Ultimately, I plan on utilizing this object to compare against user input using filterObj.hasOwnProperty(search)
Your assistance in resolving this matter would be greatly appreciated.