What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-12 02:50:01
javascript check if string contains character
// With ES6 MDN docs .includes() "FooBar".includes("oo"); // true "FooBar".includes("foo"); // false "FooBar".includes("oo", 2); // false (2 is the start position for the search) // E: Not supor... Add solution -
Javascript 2021-10-05 19:02:05
codebyte-intersection-challenge
function FindIntersection(){ //1) Grab the first and second elements to be compared let firstString = strArr[0] let secondString = strArr[1] //2) Create empty arrays to store elements, after converted from strings to numbers let firstElementArray =... Add solution