Mastering the JavaScript eval function – Part II Introduction In the previous part of the series, we saw how the JavaScript literals and the function constructor are used as arguments for the JavaScript top level eval() function. We concluded, that with the exception of the string literal, the eval() function will take a JavaScript literal as argument and return the executable code of the literal. The returned executable code is not seen in the script when you display the code of the web page.... Sign in to see full entry.