First - step: split this string then, Second - step: call the reverse method. Third - step: join this string. Example: let string = 'hello'; let cutingBox = string.split(''); cutingBox = cutingBox.reverse(); cutingBox = cutingBox.join(''); console.lo...
mdahnafarshad.hashnode.dev1 min read
No responses yet.