After my first contact with a computer in the 1980's, I taught myself to program in BASIC and Z80 assembler. I went on to study Computer Science and have enjoyed a long career in Software Engineering.
I am a Software Engineer, currently working on both web application development and mobile application development. Learning new things and sharing those with fellow developers!
Lovely article Swarnali. I have another approach for you to consider:
const reverseString = ([...str]) => str.reverse().join('');
console.log(reverseString('abcdefg')); // 'gfedcba' on console.
This is another good approach, I didn't know about this one before. Thank you so much!!