Blogger Information
Blog 35
fans 0
comment 1
visits 42653
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
转义字符的应用
魏先生的博客
Original
790 people have browsed it

console.log("我\"TM\"是好人");

这样就可以打出来了,简单好用,反斜线加上就好了.


<script type="text/javascript">
//            var num = "f"/5;
//            console.log(num);   //NaN不是一个有效地数字
            //转意字符的作用
            console.log("你\"好\"啊")
        </script>

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post