'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var creator = require('../creator.js');

function selection_append(name) {
  var create = typeof name === "function" ? name : creator.default(name);
  return this.select(function() {
    return this.appendChild(create.apply(this, arguments));
  });
}

exports.default = selection_append;
