Note that the preceding line of code is an example of a JavaScript statement. Every line of code between the
<script>
and</script>
tags is called a statement, although some statements may run on to more than one line.
This is really tripping me up a little bit. I'm specifically not sure how to is used in this particular situation. Obviously, what this says is that some statements take up or occupy more than one line and are still considered one statement. The preposition to usually means that something is moving in the direction of a particular location, but a statement doesn't really run in the direction of more than one line, it runs ON them—it is ON lines, say, 5 and 8. How can it be or run TO lines 5 and 8? Or is this just the way you typically say it in contexts like this?