Created
December 19, 2022 18:16
-
-
Save un1crom/2f416661086b425789d92e55605b1137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*(<seed> //write a nodejs javascript function to count to a number between 34 and 98 and say Hello World. | |
//but try to avoid this error: Unexpected end of input | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascript</codeType>*/ | |
//create a function that takes two parameters, a number and a string, and prints the string that many times. | |
//write a function called 'repeat' with two parameters: a string and a number. The function should print the string as many times as the number indicates. For example, repeat('hello', 3) should print "hello hello hello". | |
/*<output/>*/ | |
{ | |
"console": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment