Difference between '+' and concat in Javascript

后端 未结 0 716
独厮守ぢ
独厮守ぢ 2020-12-30 17:58

I stumble to a problem, which give different behaviour in +(plus) and concat.

a = "a"
b = "b"
c = "c"
console.log((a || b)?(a?(a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题