can some please explain why this function returns its original argument value instead of the altered value.
edit: FYI I know the solution to the problem already i just don't understand what is going on 'under the hood'; what is causing this not to work. i want better understanding of the language
function helper(value){
let hold = value;
hold.replace(/[^\w]/g, '')
hold.split('')
hold.sort()
hold.join('')
hold.toLowerCase()
return hold
}
console.log(helper('hello world')) <--- returns 'hello world'