An open API service indexing awesome lists of open source software.

https://github.com/josuerushanika/coding_challenge


https://github.com/josuerushanika/coding_challenge

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

logo

/*// BIG O
It tell us how the problem will be solved
005. What is good code
What is good code ? it must be :
1.Readable
2.Scalable

*/
const nemo = ['nemo'];

function findNemo(array) {
for (let i = 0; i < array.length; i++) {
if (array[i] === 'nemo') {
console.log('Found NEMO !');
}
}
}

findNemo(nemo);