1
JoyNeop 2015-05-28 16:31:11 +08:00
text = (function(d){
var result = ''; for (var i = 0; i < d.length; i++) { result += d.innerText + '\n\n'; }; return result; })(document.querySelectorAll('p')); |
2
JoyNeop 2015-05-28 16:33:51 +08:00
Line 4 漏了个 iterator……
|