DEV Community

Discussion on: How To: Build A Simple Search Bar in JavaScript

Collapse
 
am20dipi profile image
Adriana DiPietro

Both get the job done, yes! They are functionally identical. However, your way definitely may improve readability.