re: Every developers 'oh my god I get it' moment. VIEW POST

VIEW FULL DISCUSSION
 

For reversing a string i used reduce method🤗

function strrev(str){
return [...str].reduce((acc,next)=>next+acc)
}
 
code of conduct - report abuse