菜鸟动漫

这个判断。if(is _ ie &;& ampstr.indexOf('\n ')!= -1)条件成立,只输出str.replace(/\r?\n/g,' _ ')。长度或字符串长度

Is_ie是真还是假。

& amp& amp是合乎逻辑的

str.indexOf('\n ')!= -1)找出str字符串是否包含n。

比如一个If语句

符号前的条件为真。

符号后面跟有条件False。