Conquer the JavaScript Interview: Reversing a String Using Methods [Beginner Skill Level]

preview_player
Показать описание
Previous Associated Video for String Reverse:

This is a part of my Algorithms and Data Structures playlist series. We cover a lot of common interview questions asked during whiteboards for entry level developers. Learning to master these takes time, practice, and pattern recognition. So I'll be helping you equip a toolbelt and filling it with as many tools as I can to help prepare you crush those interviews! Remember: "Luck is where practice meets opportunity."

In this video we start with the basics and fundamentals that we can build upon. We reverse a string by learning about JavaScript's .split(), .reverse(), and .join() methods. Simple and to the point - but a great tool to have when you answer more advanced questions.

Don't forget to like this video and subscribe to our channel – we're publishing more videos and walkthroughs every week. Comment below and let us know what you'd like to see next!

Рекомендации по теме
Комментарии
Автор

This is not a solution for an interview, they will be expecting you to write your own function that reverse and join.
You can use a loop by extracting the last charcter using <array>.pop() method.

mohamadcheaib
visit shbcf.ru