"use strict";
const isSymbol$1 = require("./isSymbol.js");
var isSymbol = 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;
module.exports = _toKey;
//# sourceMappingURL=_toKey.js.map
