Selection.js 77 Bytes
export function _getSelection() {
  return window.getSelection() || null;
};