The String 'repeat()' method in JavaScript | String.prototype.repeat

preview_player
Показать описание
A quick video on the 'repeat' method found on the String prototype in JavaScript - this method allows you to repeat a String a given amount of times.

In this video I show you a basic example of the 'repeat' method working on a String and what happens when you pass in different types of values into the method.

For your reference, check this out:

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

This channel is the best. As a struggling small business owner who is learning to code and building a dynamic website with no plugins, your channel is like a youtube dummies book. Short, sharp, well explained, easy to find specific content. You are a bloody legend, thanks heaps for taking the time to put your knowledge out there for people like me.

cloudpuncher
visit shbcf.ru