Answers for "js string contais"

8

js string contais

const string = "foo";
const substring = "oo";

console.log(string.includes(substring));
Posted by: Guest on March-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language