Last active
August 29, 2015 14:15
-
-
Save chrahunt/dbda15665bfcb239c619 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
var falafel = require('falafel'); | |
var escodegen = require('escodegen'); | |
var test = '(' + function() { | |
for (;;) true; | |
} + ')()'; | |
var output = falafel(test, function(node) { | |
node.update(escodegen.generate(node)); | |
}); |
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
var falafel = require('falafel'); | |
var escodegen = require('escodegen'); | |
var test = '(' + function() { | |
for (;;true) true; | |
} + ')()'; | |
var output = falafel(test, function(node) { | |
node.update(escodegen.generate(node)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment