reversestring a simple function which can reverse a string from head to foot use: npm install reversestring console.log(reversestring('abcdef'))