SLK Group interview question

reverse a string without inbuilt js function.