for loop iterations in C++, Javascript, Python

for loop cheat sheet

C++

Range-based for loop over iterable