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

Published: 26 March 2018
on channel: dcode
3,530
53

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:
https://developer.mozilla.org/en-US/d...

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!


On this page of the site you can watch the video online The String 'repeat()' method in JavaScript | String.prototype.repeat with a duration of hours minute second in good quality, which was uploaded by the user dcode 26 March 2018, share the link with friends and acquaintances, this video has already been watched 3,530 times on youtube and it was liked by 53 viewers. Enjoy your viewing!