HCL interview question

Mostly Related to javascript and the library you are using