'use strict'; // use a 'for' loop function repeatStringNumTimesWithFor(str, num) { // add your code here return str; } console.log('for', repeatStringNumTimesWithFor('abc', 3)); // use a 'while' loop function repeatStringNumTimesWithWhile(str, num) { // add your code here return str; } console.log('while', repeatStringNumTimesWithWhile('abc', 3)); // use a 'do...while' loop function repeatStringNumTimesWithDoWhile(str, num) { // add your code here return str; } console.log('while', repeatStringNumTimesWithDoWhile('abc', 3));