📅  最后修改于: 2022-03-11 14:56:46.359000             🧑  作者: Mango
function mutation(arr) {
let first = arr[0];
let second = arr[1];
return first.indexOf(second) !== -1;
}
console.log(mutation(["hello", "hel"]));