In the code snippet at http://jsfiddle.net/javascriptenlightenment/QvbDw/, the author augments the builtin String object constructor with 2 new properties - an array property and a function property.
I notice that for the new array property, he did this:
String.newArrayProperty = [];
// Q1: Why not String.prototype.newArrayProperty = []; ?
But for the new function property, he did this:
String.prototype.newFunctionProperty = function() {...};
// Q2: Why not String.newFunctionProperty = function() {...}; ?
What's the difference between String.newProperty and String.prototype.newProperty?