diff options
Diffstat (limited to 'tools/may_execute_js_code.js')
| -rw-r--r-- | tools/may_execute_js_code.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/may_execute_js_code.js b/tools/may_execute_js_code.js deleted file mode 100644 index 4706e07..0000000 --- a/tools/may_execute_js_code.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Runs the javascript code in node.js. - * @typedef {Object} Args - * @property {string} code - Javascript code to execute, such as `console.log("hello world")` - * @param {Args} args - */ -exports.run = function run({ code }) { - eval(code); -} |
