I’m trying to filter data from JSON in JavaScript.
I define a variable a. I want the property of whatever value a is equal to (not it
a
it
Try item[a], javascript objects can also be accessed this way.
item[a]