javascript code

JavaScript
//A javascript coding example.
var emotion = "happy";
var time = 1614;
var name = "Ruby";
var day = "morning";

if ( time < 1200 ) {
  day = "morning";
};
else if ( time < 600 || time > 2200 ) {
  day = "night";
};
else {
  day = "afternoon";
};

console.log("at " + time + "at " + day + ". " + name + "was felling quite" + emotion + ".");html>
<head>
  <title>Multiplication Table</title>
  <script type="text/javascript">
    var rows = prompt("How many rows for your multiplication table?");
    var cols = prompt("How many columns for your multiplication table?");
    if(rows == "" || rows == null)
   		 rows = 10;
    if(cols== "" || cols== null)
   		 cols = 10;
    createTable(rows, cols);
    function createTable(rows, cols)
    {
      var j=1;
      var output = "<table border='1' width='500' cellspacing='0'cellpadding='5'>";
      for(i=1;i<=rows;i++)
      {
    	output = output + "<tr>";
        while(j<=cols)
        {
  		  output = output + "<td>" + i*j + "</td>";
   		  j = j+1;function getIntoAnArgument() {
    var args = arguments.slice();
    args.forEach(function(arg) {
        console.log(arg);
    });
}À	Alt+ 0192	&#192;	&Agrave;
Á	Alt+ 0193	&#193;	&Aacute;
Â	Alt+ 0194	&#194;	&Acirc;
Ã	Alt+ 0195	&#195;	&Atilde;
Ä	Alt+ 0196	&#196;	&Auml;
Å	Alt+ 0197	&#197;	&Aring;

Æ	Alt+ 0198	&#198;	&AElig;

Ç	Alt+ 0199	&#199;	&Ccedil;

È	Alt+ 0200	&#200;	&Egrave;
É	Alt+ 0201	&#201;	&Eacute;
Ê	Alt+ 0202	&#202;	&Ecirc;
Ë	Alt+ 0203	&#203;	&Euml;

™	Alt+ 0153	&#153;	 	
š	Alt+ 0154	&#154;	 
›	Alt+ 0155	&#155;	&gt;	 
œ	Alt+ 0156	&#156;	
®	Alt+ 0174	&#174;	&reg;

¼	Alt+ 0188	&#188;	&frac14;	
½	Alt+ 0189	&#189;	&frac12;
¾	Alt+ 0190	&#190;	&frac34;console.log("Hello World!");js basic code example
Source

Also in JavaScript: