javascript - 字符的十六进制表示?
巴扎黑
巴扎黑 2017-04-10 16:26:42
0
1
306

Hi,我在js中使用
"\x48" 表示字符H,类似的,我想要找到 < 和 > 的16进制表示,怎么弄啊?(原因你懂得)。有没有在线查看的表?
没法通过拼凑字符串遍历所有可能。


使用\unnnn 的表示方法,也可以啊。

巴扎黑
巴扎黑

reply all(1)
刘奇

打开一个 JS 命令行,输入:

"<".charCodeAt(0).toString(16)

列表:http://www.fileformat.info/info/unicode/block/index.htm

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!