You are viewing a single comment's thread. Return to all comments →
yeah, I did the same approach but I used includes:
if (op === 'add') { contactsList.push(contact); } else if( op === 'find') { const value = contactsList.filter( name => name.includes(contact)) console.log(value.length); }
I need to understand why is it timing out...
Seems like cookies are disabled on this browser, please enable them to open this website
Tries: Contacts
You are viewing a single comment's thread. Return to all comments →
yeah, I did the same approach but I used includes:
I need to understand why is it timing out...