lib/godot/net/client.js
function defaultify (obj) {
    return Object.keys(self.defaults).reduce(function (acc, key) {
      if (!acc[key]) { acc[key] = self.defaults[key] }
      return acc;
    }, obj);
  }
function defaultify (obj) {
    return Object.keys(self.defaults).reduce(function (acc, key) {
      if (!acc[key]) { acc[key] = self.defaults[key] }
      return acc;
    }, obj);
  }
function defaultify ( obj ) { return Object . keys ( self . defaults ) . reduce ( function ( acc , key ) { if ( ! acc [ key ] ) { acc [ key ] = self . defaults [ key ] } return acc ; } , obj ) ; }
Add defaults to each object where a value does not already exist
Add defaults to each object where a value does not already exist