PureCode Software interview question

Implement a function to reverse a string in JavaScript.