Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string includes

const s = 'I am going to become a FULL STACK JS Dev with Coderslang';

console.log(s.includes('FULL STACK'));     // true
console.log(s.includes('cheeseburger'));   // false
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #javascript #string #includes
ADD COMMENT
Topic
Name
7+8 =