Created
August 8, 2014 03:55
-
-
Save goldalworming/10e930136324521d3a48 to your computer and use it in GitHub Desktop.
javascript code from string
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 a = [1, 2, 3, 45] | |
var fn = new Function('vars', 'if (vars.length==5){return "benar";}else{return "salah"}'); | |
fn(a); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment