SOURCE

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

contains('zhangkodjosj','od');
console 命令行工具 X clear

                    
>
console