Map2: custom function with filtering value that has comma (hack)

problem refs:

https://community.make.com/t/error-with-map/36558/8

here is my basic function, not that powerful as standard one, but can help to fix comma issue

function map2(data, property, filterLabel, filterValue) {
    return data
        .filter((obj) => obj[filterLabel] && obj[filterLabel] === filterValue)
        .map((item) => item[property]);
}