Driver setup and Projection

Firstly I have passed the M001 course without any hassle. I know basic javascript so I opted this Course M220JS. In this also Till Ticket:Projection I did well.
But as soon as I opened the “moviesDAO.js” , I felt I am missing out something completely,
I am not able to understand what to write and how to write n How to check whether i have written the right code or not.

Closing this ticket as this is duplicate.