no async
This commit is contained in:
parent
8e06ed973e
commit
76be781e57
@ -10,7 +10,7 @@ $$
|
||||
```js
|
||||
const padSize = Math.ceil(Math.log10(arr.length + 1))
|
||||
|
||||
arr.forEach(async (item, index) => {
|
||||
arr.forEach((item, index) => {
|
||||
console.log(`${index.padStart(padSize, '0')}: ${item}`)
|
||||
})
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user