What does the following code denote about index updation?

DWQA QuestionsCategory: R LanguageWhat does the following code denote about index updation?
Editor Staff asked 11 months ago

What does the following code denote about index updation?
for (index in 1:3) {
index <- index * 2
print(index)
}