DataArt interview question

The most difficult questions for me were about javascript.