function findNeedle(haystack) { const indexOfNeedle = haystack.indexOf("needle"); return haystack.includes("needle"), `found the needle at position ${indexOfNeedle}`; }
function findNeedle(haystack) { const indexOfNeedle = haystack.indexOf("needle"); return haystack.includes("needle"), `found the needle at position ${indexOfNeedle}`; }