(function(){ function x(p,c) { return (function(e){return new Array(e.snapshotLength).join(',').split(',').map(function(a,b){return e.snapshotItem(b)})})(document.evaluate(p,c||document,null,7,null)) } alert(x('/\/a')); })() .join(',').split(',') が泣ける感じ。 - うわわ、0 が 1 になちゃうよ。 (function(){ alert(new Array(0).join(',').split(',').length) })() - これでどうだ。 (function(){ function x(p,c) { return (c = (funct