Repeat A String, Repeat A String, freeCodeCamp Review Basic Algorithm Scripting lesson 8 VIDEO
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.
Other Videos By We Will Code 2017-07-05 Learn Javascript 2017, Loops, Looping by hand, Codecademy 2017-07-03 Learn Javascript 2017, Loops Introduction, Codecademy 2017-07-03 Learn Javascript 2017, Arrays, Review Arrays 2017-07-01 Learn Javascript 2017, Arrays, Pop Method, Codecademy 2017-06-27 Learn Javascript 2017, Arrays, Push Method, Codecademy 2017-06-22 Codewars, Welcome, Javascript Solution, Loop Through Object 2017-06-16 Codewars, Dollars and Cents , 2017 Javascript Implementation 2017-06-13 Codewars, Calculate Average, Javascript ES6 Solution 2017-06-13 Codewars, Javascript Challenge, The 'if' Function, Algorithm Solution 2017-06-12 Truncate A String, freeCodeCamp Review Basic Algorithm Scripting lesson 9 2017-06-12 Repeat A String, Repeat A String, freeCodeCamp Review Basic Algorithm Scripting lesson 8 2017-06-12 Learn Javascript 20117, Arrays, length property, Codecademy 2017-06-10 Learn Javascript 2017, Arrays, Property Access, Codecademy 2017-06-10 Learn Javascript 2017, Arrays, Create an Array, Codecademy 2017-06-10 Learn Javascript 2017, Arrays, Codecademy 2017-06-09 Learn Javascript 2017, Review Scope, Codecademy 2017-06-09 Learn Javascript 2017, Scoping, Codecademy 2017-06-07 Learn Javascript, 2017 Functional Scope, Codecademy 2017-06-06 Learn Javascript, 2017 Global Scope, Codecademy 2017-06-02 Learn Javascript, Review Functions, 2017 Codecademy Review 2017-06-02 Learn Javascript, 2017, return II, Codecademy (Return Statements)
Tags: javascript length method
length in javascript
codecademy functions
javascript arrays