This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/share/CodeBlocks/lexers/lexer_javascript.sample

11 lines
197 B
Plaintext
Raw Permalink Normal View History

// a function
function myFunction()
{
var x = "", i;
for (i = 0; i < 5; i++)
{
x = x + "The number is " + i + "<br>";
}
document.getElementById("demo").innerHTML = x;
}