Damco Solutions interview question

questions around Javascript workings, DSA