для ... в ...

// for... in
for (let i in str) {
  console.log(str[i]);
}
Yucky Yacare