Synchronous text file reading in browser (stackoverflow.com)stack
30 points by lulook in stackoverflow.com · 5m ago · stack comments
I am new to javascript so I might misunderstand some details. Problem is that I have a javascript function for reading text files, in for nodejs it is implemenetd this way function cat (path) { return require('fs').readFileSync(path, 'utf-8') } To make it work in browser I added…
filed under javascriptasynchronous