code: function toArray(children) {
    var result = [];
    mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);
    return result;
  }
docs: Flatten a children object (typically specified as `props.children`) and
  return an array with appropriately re-keyed children.
  
  See https://facebook.github.io/react/docs/react-api.html#react.children.toarray