Iterate through an array; *10 if < 5

How would I iterate through an array and multiply that number by 10 if it’s greater than 5? This is what I have so far. I’m assuming my condition is faulty somehow

const timesTenIfOverFive = [23, 9, 11, 2, 10, 6];
for (let i = 0; i >= 5; i++) {
i++
}
console.log(timesTenIfOverFive)

I’ve tried

+=10
i*=10
(i = timesTenIfOverFive * 10)
(timesTenIfOverFive === i * 10)
(timesTenIfOverFive *= 10)

the answer should be 230, 90, 110, 20, 10, 60

We’ll access the elements by index, and if the condition is met, we multiply it in place.

for (let i = 0; i < arr.length; i++) {
  if (arr[i] > 5) {
    arr[i] *= 10
  }
}