I need assistance filtering the code below using an array.
MyArray = ['1','2,'3']
this.productlist = listComesFromASubscription.filter((product: Product) => product.productId === this.MyArray;
Could someone provide some guidance? I am looking to have productlist contain only products with IDs from the MyArray array.