Skip to content

Commit

Permalink
Update getting_started.md
Browse files Browse the repository at this point in the history
Remove unexpected semicolon
  • Loading branch information
cesargdm committed Mar 9, 2022
1 parent 7cd6472 commit 9c71eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ numbers to a document.
// see the range of buffered pages
const range = doc.bufferedPageRange(); // => { start: 0, count: 2 }

for (i = range.start, end = range.start + range.count, range.start <= end; i < end; i++;) {
for (i = range.start, end = range.start + range.count, range.start <= end; i < end; i++) {
doc.switchToPage(i);
doc.text(`Page ${i + 1} of ${range.count}`);
}
Expand Down

0 comments on commit 9c71eb8

Please sign in to comment.