0👍
product_category: currentProduct.Categories.filter(option => option.selected)
?
or maybe I didn not understand and you want:
product_category: currentProduct.Categories.filter(option => option.selected).map(option => {categories_of_product: option.value})
?
Source:stackexchange.com