M
M
mr jeery2018-02-27 22:45:48
JavaScript
mr jeery, 2018-02-27 22:45:48

How to call includes with an array as an argument?

I need it to return true, I understand that includes does not accept an array, so the question is - is there something like but for an array or how can it be replaced with ?
[1,2,3,4,5].includes[1,4,5] // True

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question