JavaScript Tutorial

eval() Function

Evaluates JavaScript code represented as a string.

eval('console.log("Hello from eval")');