DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
use await in for each
files.forEach(async (file) => { const contents = await fs.readFile(file, 'utf8') })
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#await
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit