worried guy
2012-01-06 03:16:15 UTC
var message;
message = "Using the JavaScript library,
";
message = message + "The square root of " + number + "
";
message = message + "is " + sqRoot;
The output looks like this:
http://img13.imageshack.us/img13/9058/javascript.jpg
So my question is: How on earth is the message displaying like that?? How come it isn't displaying the ''Using the JavaScript library,'' bit 3 times?
I'm confused, hope someone can explain it for me.