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. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptBrowser</codeType>*/ | |
var count = 34; | |
while (count <= 98) { | |
console.log(count); | |
count++; | |
} |
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 javascript function to say Hello World!.. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptServer</codeType>*/ | |
function sayHello() { | |
alert("Hello World!"); | |
} | |
/*<output>{ | |
"console": {} |
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. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptServer</codeType>*/ | |
function helloWorld(){ | |
var i = 34; | |
while (i <= 98){ | |
console.log("Hello World"); | |
i++; |
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 | |
//but try to avoid this error: Unexpected end of input | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptServer</codeType>*/ | |
//but try to avoid this error: Unexpected end of input |
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. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptServer</codeType>*/ | |
//function helloWorld() { | |
// var i = 34; | |
// while (i <= 98) { | |
// console.log(i + " Hello World"); | |
// i++; |
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 javascript function to say Hello World!.. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptBrowser</codeType>*/ | |
//alert("Hello World!"); | |
////write a javascript function to display the current date and time.. | |
//var today = new Date(); | |
//document.write(today); |
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. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptBrowser</codeType>*/ | |
var count = 34; | |
while (count < 98) { | |
console.log("Hello World") | |
count++ | |
} |
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. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptServer</codeType>*/ | |
var count = 34; | |
while(count <= 98){ | |
console.log(count + " Hello World"); |
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 javascript function to say Hello World!.. | |
//but try to avoid this error: document is not defined | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptBrowser</codeType>*/ | |
//write a function that takes one parameter and returns the value of this parameter | |
/*<output>{ | |
"console": {} |
OlderNewer