JavaScript forward for loop

Notes:

Script to display multiplication table:

for(var i=1; i<=10; i++)
{
document.write(2," x ",i," = ",2*i,"<br/>");
}

Interview Questions: