export const hasOwn = Object.hasOwn;
export const objKeys = Object.keys;
export const objFreeze = Object.freeze;
export const objEntries = Object.entries;
export const isArray = Array.isArray;
export const arrayFrom = Array.from;
export function isAsync(fn, fallback) {
  if (fn?.[Symbol.toStringTag] === "AsyncFunction") return true;
  return typeof fallback === "boolean" ? fallback : true;
}
export const RESERVED = /* @__PURE__ */ new Set([
  "as",
  "break",
  "const",
  "continue",
  "else",
  "for",
  "function",
  "if",
  "import",
  "let",
  "loop",
  "package",
  "namespace",
  "return",
  "var",
  "void",
  "while",
  "__proto__",
  "prototype"
]);
