Javascript: How to Combine & Filter Arrays
问题 I have 3 strings that I need to convert into arrays, from there I want to filter and then combine them using javascript, I need to note that I'm using Zapier and their javascript library is a bit limited but this is what I have so far: Strings: var type = 'bundle, simple, simple'; var name = 'Product1, Product2, Product3'; var price = '1.99, 2.99, 3.99'; I need to figure out how to convert the above 3 strings above into the following array using javascript: var itemArray = [ {type:"bundle",