JS object processing functions

Let’s look on the example of some database:

Getting posts with the filter (author)

Getting post with id

Validating object

Clearing our “database”

Adding a new post

Editing post

Removing post

Hey, I am an IT Expert and IT Delivery Manager at Andersen