Use Javascript to open a directory?

How would I use JS to open testing.txt and read what is in it?
(I am using Javascript by having a .html file and using a <script> tag.)

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer

You would use the Javascript FS module, but it can't be used in an HTML, CSS, JS repl, it'll have to be used on a NODEJS repl


@mamamia5x no they don't, they can just make an HTTP request


Ur right j*r** (not bad word, his name) @Coder100