<!DOCTYPE html>
<html>
<head>
<title>100-Numbers</title>
</head>
<body>
<script>
var points = new Array(100);
var label = points.length;
for (var i = 0; i < label; i++) {
console.log(points[i]);
}
</script>
</body>
</html>
My first question on Stackoverflow is this one. Please bear with me as I am a newbie and could use a lot of your help. I'm attempting to print 1 to 100 numbers in Javascript using arrays. I'm running into some issues with the code above. Please correct my errors so that you can see the result. I apologise in advance.