DEV Community

Discussion on: CRUD Operations in Modern JavaScript

Collapse
 
sosolidkk profile image
João Pedro

Wouldn't it be better to update the list by index instead of title? Using displayNotes() indexes to base on the update operation. Anyway, great tutorial and explanation!

Collapse
 
gitanshu_choudhary profile image
Gitanshu Choudhary

I know from a developer point of view, your suggestion proves to be the efficient one .. It's just tht i coded this taking a client's interaction in mind, it would be easier for a client/user to update through "title" rather than index number.
I appreciate the positive feedback !!