Created
January 4, 2023 12:38
-
-
Save deleteman/6e5fa1357c37d236466cab82fddae79c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
fs.readFile("./test1.js", (err, content) => { | |
if(err) { | |
return console.log(err); | |
} | |
console.log(content.toString()); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment