You can use the find
method:
items.find((item) => this.mainItem.includes(item)) || ""
CLICK HERE to find out more related problems solutions.
You can use the find
method:
items.find((item) => this.mainItem.includes(item)) || ""
CLICK HERE to find out more related problems solutions.