'use strict';

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

var index = require('./selection/index.js');

function select(selector) {
  return typeof selector === "string"
      ? new index.Selection([[document.querySelector(selector)]], [document.documentElement])
      : new index.Selection([[selector]], index.root);
}

exports.default = select;
