3 ms·
B:\_purgatory>mkdir hello B:\_purgatory>echo "test" > hello/world B:\_purgatory>node > var fs = require("fs") undefined > fs.readFileSync("hello/worl
by za_creature 10y ago
B:\_purgatory>mkdir hello
B:\_purgatory>echo "test" > hello/world
B:\_purgatory>node
> var fs = require("fs")
undefined
> fs.readFileSync("hello/world")
<Buffer 22 74 65 73 74 22 20 0d 0a>
As for require, iirc "/" is part of the spec and gets normalized to the OS standards afterwards
- chris_wot 10y agoOK, I just have to ask... what are you developing that it deserves the project title of "_pergatory"?!?
- za_creature 10y agoB: is my workspace partition, and `purgatory` is just the name of a folder I use for files and folders that I will eventually either delete or include in an existing project (helps when I'm in over my head with git). Underscore is there to show up first in explorer