更新时间:2023-11-28 18:43:16
str.trim().indexOf(' ') != -1 //there is at least one space, excluding leading and training spaces
看看div是否包含一个或多个输入的单词(Javascript)
javascript检查value是否至少包含2个或更多的单词