Read directory sync (readdirSync)



examples/fs/readdir_sync.js
const fs = require('fs')

let files = fs.readdirSync('.')
console.log(files)