function contains(target, it){ return target.lastIndexOf(it) != -1; } contains('zhangkodjosj','od');