Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function printManyTimes(str) {
- "use strict";
- // change code below this line
- const SENTENCE = str + " is cool!";
- for(let i = 0; i < str.length; i+=2) {
- console.log(SENTENCE);
- }
- // change code above this line
- }
- printManyTimes("freeCodeCamp");
Add Comment
Please, Sign In to add comment