Block-stars interview question

Question about node js Anand howit works