摘要: The join() method joins all elements of an array into a string.var name = 'shane osbourne';var upper = name.split(' ') // [shane, osbourne].map(x => x... 阅读全文
posted @ 2015-10-09 01:04 Zhentiw 阅读(234) 评论(0) 推荐(0)
摘要: For example there are two array of object and you want to print out each element, it is bad if you use two forEach method on each array:var people1 = ... 阅读全文
posted @ 2015-10-09 00:37 Zhentiw 阅读(512) 评论(0) 推荐(0)