Loops: How Do I Repeat Program Instructions Efficiently?
摘要
In this chapter, we’ll look at how you can repeat similar program parts multiple times using loops. JavaScript knows both counting and conditional loops. As an example of the power of loops, we’ll develop a very simple spreadsheet application.