HCLTech interview question

spread operator