前端錯誤集

weixin_34402408發表於2017-08-23

1.[]不等於null

[]?alert(1):alert(2),他是會輸出1的


2.如何獲取textarea的換行

然後新增自己的html


5417710-e95792e06621e54d.png

相關文章