Answers for "string contains javascirpt"

8

string contains javascirpt

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