1Function.prototype.method = function (name, func) {
2 this.prototype[name] = func;
3 return this;
4};
1// --- The following return statements all break the function execution: ---
2
3return;
4return true;
5return false;
6return x;
7return x + y / 3;
8