[Javascript] Zero-width char
U+200B: Zero-width space
- Used for soft line breaks in long words.
U+FEFF: Zero-width non-breaking space
- Prevents line breaks at specific positions.
U+200D: Zero-width joiner
- Used in Arabic and Indic scripts to create joining effects between characters.
U+200C: Zero-width non-joiner
- Used in Arabic, German, and Indic scripts to prevent joining effects between characters.
U+200E: Left-to-right mark
- Used in mixed-directional text (e.g., left-to-right English mixed with right-to-left Hebrew) to specify that the text direction is left-to-right.
U+200F: Right-to-left mark
- Used in mixed-directional text to specify that the text direction is right-to-left.
U+200B : 零宽度空格符 用于较长单词的换行分隔
U+FEFF : 零宽度非断空格符 用于阻止特定位置的换行分隔
U+200D : 零宽度连字符 用于阿拉伯文与印度语系等文字中,使不会发生连字的字符间产生连字效果
U+200C : 零宽度断字符 用于阿拉伯文、德文、印度语系等文字中,阻止会发生连字的字符间的连字效果
U+200E : 左至右符 用于在混合文字方向的多种语言文本中(例:混合左至右书写的英语与右至左书写的希伯来语),规定排版文字书写方向为左至右
U+200F : 右至左符 用于在混合文字方向的多种语言文本中,规定排版文字书写方向为右至左
const str = 'a\u200Bb\u200Dc'
const str2 = 'abc'
console.log(str === str2) //false
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
2022-11-28 [Typescript] 120. Hard - ObjectFromEntries
2017-11-28 [Python] Python Libs
2017-11-28 [Python] Working with file
2016-11-28 [Node.js] Use Realm Object Database with Node.js
2016-11-28 [CSS] Manipulate Images Using CSS Filter and Blend Modes
2016-11-28 [AngularFire2] Build a Custom Node Backend Using Firebase Queue
2014-11-28 [CSS3 Animation] TweenMax.staggerTo()