关注它,不迷路。
本文章中所有内容仅供学习交流,不可用于任何商业用途和非法用途,否则后果自负,如有侵权,请联系作者立即删除!
1.还原场景
在一条语句中,如果包含条件表达式,可以将其转换成if语句,用来继续优化代码。
2.遍历的节点类型
ConditionalExpression
3.混淆代码实例
还原前:
3 === this.Cn ? this.Yz = 256 : 23 === this.Cn ? this.$V ? this.Yz = 480 : this.Yz = 512 : this.$V ? this.Yz = 960 : this.Yz = 1024;
还原后:
if (3 === this.Cn) { this.Yz = 256;} else { if (23 === this.Cn) { if (this.$V) { this.Yz = 480; } else { this.Yz = 512; } } else { if (this.$V) { this.Yz = 960; } else { this.Yz = 1024; } }}
4.真实案例
无。
5.插件源代码
https://t.zsxq.com/Tdbn9