B2G/gecko/toolkit/content/Dict.jsm
/**
   * Returns a shallow copy of this dictionary.
   */
Returns a shallow copy of this dictionary.
Returns a shallow copy of this dictionary .
function Dict_copy() {
    var newItems = {};
    for (var [key, val] in this.items)
      newItems[key] = val;
    return new Dict(newItems);
  }
function Dict_copy ( ) { var newItems = { } ; for ( var [ key , val ] in this . items ) newItems [ key ] = val ; return new Dict ( newItems ) ; }
Returns a shallow copy of this dictionary.
Returns a shallow copy of this dictionary .