I have been working on a project and developing a JavaScript framework. The original code is about 700 lines so I only pasted this line. The includes method doesn\'t work on
if (fullString.indexOf("partString") >= 0) { //true } else { //false }