最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to insert emoticons chars into JS script - Stack Overflow

programmeradmin3浏览0评论

How can I use emoticon chars in JS :

.html#1f600

I tried with:

var emoji = String.fromCharCode(0x1F621);
var emoji = '\u1F600';

I also tried to copy/paste them into phpStorm IDE and into sublime text : that gave me a squared missing char.

I just need to have a console.log('

发布评论

评论列表(0)

  1. 暂无评论