"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const isSymbol$1 = require("./isSymbol.js");
var isSymbol = isSymbol$1.isSymbol_1;
var INFINITY = 1 / 0;
function toKey(value) {
  if (typeof value == "string" || isSymbol(value)) {
    return value;
  }
  var result = value + "";
  return result == "0" && 1 / value == -INFINITY ? "-0" : result;
}
var _toKey = toKey;
exports._toKey = _toKey;
