0

I was wondering if it's possible to add multiple conditions to .includes() in javascript. For example:

var item_name = "leather jacket"
var item_color = "pink"

.includes(item_name && item_color)

So, it has to include both the item_name and the item_color.

Thanks in advance and stay healthy these days!

0 Answers0