const nemo = ['nemo']
function findNemo(array){
let t0 = performance.now();
for (let i=0; i<nemo.length; i++){
if(array[i] === 'nemo'){
console.log('Found Nemo!')
}
}
let t1 = performance.now()
console.log(`call to nemo took ${t1-t0}ms`)
}
findNemo(nemo)
function funChallenge(input){
let a =10; // o(1)
a = 50 + 3; //o(1)
for(let i=0; i<i<input.length; i++){ //o(n)
anotherFunction(); // o(n)
let stranger = true; //o(n)
a++; // o(n)
}
return a;
}