DEV Community

Discussion on: Don't be afraid to expand your code for readability

Collapse
 
andrespineros profile image
Andrés Felipe Piñeros

Right, and if you want to debug, just print the values of the variables inside the shouldSave(doc) function.