编辑代码

function reverseString(str){
	return str.split('').reverse().join("");
}
console.log(reverseString("abcdef"));