I have been given a test to complete but I am struggling with one question. Can you help?
Write a javascript function that takes in records (an array of all the database records), an action, and a start_time and end_time time window and returns all user ids that performed that action within that time window. E.g. getUsers(records, “start”, 700, 900) will return the result [3]
there was also a table to go with this question, here is the screenshot https://ibb.co/BCCQjTQ.