code: function extend(child, parent) {
          for (var property in parent) {
              if (typeof child[property] == 'undefined') {
                  child[property] = parent[property];
              }
          }
          return child;
      }
docs: Make inheritance bearable: clone one level of properties