Skip to content

Instantly share code, notes, and snippets.

@un1crom
Created September 22, 2021 19:55
Show Gist options
  • Save un1crom/b445b0e437472b71f9666b9ee2d26e08 to your computer and use it in GitHub Desktop.
Save un1crom/b445b0e437472b71f9666b9ee2d26e08 to your computer and use it in GitHub Desktop.
/*(<seed> //write a nodejs javascript function to count to a number between 34 and 98 and say Hello World.
</seed>)
<stop>});</stop>
<codeType>javascriptServer</codeType>*/
//function helloWorld() {
// var i = 34;
// while (i <= 98) {
// console.log(i + " Hello World");
// i++;
// }
//}
/* *********************************************************************************************** */
/* ************** Function with parameters and return value ************************ */
//function addNumbers(num1, num2) { //parameters are optional in js, but required
/*<output>{
"console": {}
}
</output>*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment