string and charater alphabet order code example
Example: string and charater alphabet order
str = "jerryparker";
function reve(){
return str.split('').sort().join("");
}
console.log(reve(str.length));
str = "jerryparker";
function reve(){
return str.split('').sort().join("");
}
console.log(reve(str.length));