a = 0
b = 0
a === 0 && (a = 1,b = 2)
a === 1 ? (a = 3,alert(b)) : (b = 4)
a === 1 || alert(a)
本文共 148 字,大约阅读时间需要 1 分钟。
a = 0
b = 0
a === 0 && (a = 1,b = 2)
a === 1 ? (a = 3,alert(b)) : (b = 4)
a === 1 || alert(a)
转载于:https://www.cnblogs.com/cnblogs-jcy/p/6346998.html