3 ms·
If you like the way LiteScript works, check out literate CoffeeScript and ToffeeScript which allows async to be coded like this: e, data = fs.readFile! 'da
by ilaksh 13y ago
If you like the way LiteScript works, check out literate CoffeeScript and ToffeeScript which allows async to be coded like this:
e, data = fs.readFile! 'data.dat'
console.log data.toString()
- lucio 13y agoNot exactly the same. LiteScript uses ES6-generators, handling also try/catch and making a readable js output code.