[English][Javascript]Using like a Java contains in Javascript
Some times we need to check a String content if have something that we need,but in Javascript doesn’t have a method as seen in Java or anothers programming languageslike “contains”, but we be able to implement this, let me show: //var with the contentvar s = “some stuff”; /*On this method, we check if the …