Created
May 29, 2017 22:41
-
-
Save TheSkorm/ba01b219300a7538f0fcc9d9f2c14e1a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var fs = require("fs"); | |
| var sad = function(){ | |
| return true; | |
| }; | |
| sad.stop = function(){ | |
| return true | |
| } | |
| beAwesome = function(){ | |
| console.log("TODO: be awesome handler"); | |
| return false; | |
| } | |
| var data = fs.readFileSync('code.js','utf8') | |
| var code = data.replace(".(", "("); | |
| eval(code); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment