whats the output for this???

var a;
var b;

for(a=1;a<=4;a++)
{
document.write(a +"<br>")
for{b=3;b<=5;b++)
{
document.write(b +"<br>")

}
}

What Language is that?

looks like it might be html, but not certain

I think it's java script? Outputting numbers and HTML markup
And the output is something like this
1<br>3<br>2<br>4<br>3<br>5<br>
Or something similar.....
What is the program supposed to do?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.