DIfferent behavior of fs.readdir on node.js vs. low.js
Closed this issue · 0 comments
lll000111 commented
Example, running the following in a random directory:
fs.readdir('.', function (err, files) {console.log(err, files);})
node.js 11.5.0 output:
[ 'DATA',
'index.js',
'node_modules',
'polyfills.js',
'register-types.js' ]
lowjs-linux-x86_64-20181223 output:
[ 'node_modules',
'..',
'index.js',
'register-types.js',
'.',
'DATA',
'polyfills.js' ]