user
How can the following code be improved for readability?

Input: for(let i = 0; i < list.length; i++)
{
  list[i] *=2
}

Output:
assistant
for (let i = 0; i < list.length; i++) {
  list[i] = list[i] * 2;
}