单项选择题
A.value B.done C.makeIterator D.next
Set函数可以接受一个数组(或者具有()接口的其他数据结构)作为参数,用来初始化A.toStringB.ite...
单项选择题Set函数可以接受一个数组(或者具有()接口的其他数据结构)作为参数,用来初始化
A.toString B.iterable C.valueOf D.prototype
function findLongestWord(str) {//转化成数组 var astr=str.spl...
单项选择题function findLongestWord(str) {//转化成数组 var astr=str.split( " " ); //对数组中每个元素的字符串长度进行比较,按照字符串长度由大至小排列数组顺序。 var bstr=astr.sort(function(a,b){ return b.length-a.length; });//取出数组中第一个元素(也就是最大长度的字符串) var lenMax= bstr[0].length;//返回长度值 return lenMax;}findLongestWord("The quick brown fox jumped over the lazy dog"); ()
A.jumped B.quick C.12 D.6
setTimeout(“move()”,20)意味着()A.每隔20秒,move()函数就会被调用一次B.每隔...
单项选择题setTimeout(“move()”,20)意味着()
A.每隔20秒,move()函数就会被调用一次 B.每隔20分钟,move()函数就会被调用一次 C.过隔20毫秒后,move()函数就会被调用 D.move()函数被调用20次