Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff, a=lmandel