https://github.com/josuerushanika/coding_challenge
https://github.com/josuerushanika/coding_challenge
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/josuerushanika/coding_challenge
- Owner: josuerushanika
- Created: 2023-09-07T18:22:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-19T22:47:44.000Z (over 1 year ago)
- Last Synced: 2023-09-20T00:58:44.440Z (over 1 year ago)
- Language: JavaScript
- Size: 51.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
/*// 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);