Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get output of console.log in a file in javascript

node script-file.js >log-file.txt 2>error-file.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #output #file #javascript
ADD COMMENT
Topic
Name
6+3 =