Perforce Software interview question

Js problem solving questions on arrays and objects