файловое I/O для javaScript

Revision en2, by agat00, 2016-02-24 04:36:14

Greetings

Question to those who solves problems on javaScript: there are problems such as 35A that does not use the standard way of I/O through the readline and write/**print**, and expects that the program to read the file input.txt, and the result to be wrote in the output.txt file. Someone aware of how to make such I/O on the JS?

Examining the global runtime object I found methods read and load and according to their errors they are trying to interact with the file system. But I get failed to make them work. There is also an os object but he seems to be empty. So if anyone has faced this problem — share your experience, please

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English agat00 2016-02-24 04:40:26 24
ru5 Russian agat00 2016-02-24 04:38:55 30
en3 English agat00 2016-02-24 04:37:01 2 Tiny change: ' **write**/**print**,' -> ' **write** / **print**,' (published)
en2 English agat00 2016-02-24 04:36:14 0 (saved to drafts)
en1 English agat00 2016-02-24 04:35:02 760 Initial revision for English translation
ru4 Russian agat00 2016-02-24 04:20:11 60
ru3 Russian agat00 2016-02-24 04:11:52 2 Мелкая правка: 'Немного по исследовав' -> 'Немного по-исследовав'
ru2 Russian agat00 2016-02-24 00:19:51 2 Мелкая правка: 'ead и load, которые судя по о' -> 'ead и load которые, судя по о'
ru1 Russian agat00 2016-02-24 00:18:38 670 Первая редакция (опубликовано)