Given two strings, return boolean if s2 is a substring of s1, but only check the second half of s1.
// input:
const s1 = 'hello beautiful world', s2 = 'hello'
// output:
false
(Ctrl + ')
Loading...
/* output */
Next(Ctrl + y)
Given two strings, return boolean if s2 is a substring of s1, but only check the second half of s1.
// input:
const s1 = 'hello beautiful world', s2 = 'hello'
// output:
false
/* output */