摘要:
You are given an object literal representing a part of your musical album collection. Each album has a unique id number as its key and several other p 阅读全文
摘要:
将“return 'No such contact';”放在for循环里面: 注:下面例子中的contacts是一个数组,里面存放的是JS的对象。 function lookUpProfile(name, prop) { for (var i=0; i<contacts.length; i++) { 阅读全文