Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js contains

var string = "foo",
    substring = "oo";
console.log(string.includes(substring));
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #js
ADD COMMENT
Topic
Name
3+9 =