Trigyn Technologies interview question

What is javascript and how does it work