After split, the returnned string is not same as the identical string. How do I get 'true' after comparison?

前端 未结 0 799
粉色の甜心
粉色の甜心 2020-12-01 08:24

I try to compare the two identical strings and get \'true\' as the return value. The one is returnned after split(\'-\').

My code is as below.

let stri         


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