Reval Analytics interview question

Questions on JavaScript, How to optimize code, SQl questions, How to do nit testing