Skip to content

Commit fc732c0

Browse files
committed
Update DOM - Show anchors.js
1 parent af3a63d commit fc732c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/DOM - Show anchors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict";
22
var anchors = document.anchors;
3-
for (i=0; i < anchors.length; ++i) {
3+
for (i = 0; i < anchors.length; i += 1) {
44
var anchor = anchors[i];
55
var name = anchor.name;
66
if (name !== undefined && name.length > 0) {

0 commit comments

Comments
 (0)