1 <script> 2 message = "SUCCESS"; 3 function doTest(para) { 4 var f = new Function('para', 'para.innerHTML = message;'); 5 f(para); 6 } 7 </script> 8 <body> 9 </body> 10 11