JS奇技淫巧

var str = (function () {/*

   <style>
   </style>
   <div></div>
   <script>
       var a = 3;
       //blabla
   </script>
        
*/}).toString();

str=str.substring(15,str.length-5);

alert(str)


Power by ZMS

你可能感兴趣的:(js)