<script type="text/javascript"> var b = new Function('num','alert(num);'); b({}); b(2); b(3); </script>