Repeat A String, Repeat A String, freeCodeCamp Review Basic Algorithm Scripting lesson 8

Lesson Summary

In this challenge we are given a function which takes in two arguments. The first argument is a screen and the second is a number. Our javascript function needs to take that string and repeat it the number of times provided by the second argument. This is solved in this freeCodeCamp lesson by me using the .repeat method which takes one argument (count) which will repeat the given string the number of times provided.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required