Trianz Interview Question

Reverse the words in string Some questions were about HTML,CSS and javaScript oops concepts