code: function _get(d, k, def) {
          if (typeof d === "undefined") return def;
          if (typeof d[k] === "undefined") return def;
          return d[k];
      }
docs: Get a value from an object or return a default if that doesn't work.