functionreverse(val:string){if(val==='a'){return'a'}elseif(val==='aa'){return'aa'}elseif(....){}// 75 years laterelseif(val==='aucn'){return'ncua'}elseif(....){}// 2000 years laterelseif(val==='asynchronous'){return'suonorhcnysa'}}console.log(reverse('asynchronous'))
this works for any amount of chars xd
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
so easy
this works for any amount of chars xd