UNPKG

@babel/runtime-corejs3

Version:

babel's modular runtime helpers with core-js@3 polyfilling

7 lines • 227 B
import _typeof from "./typeof.js"; import toPrimitive from "./toPrimitive.js"; function toPropertyKey(r) { var o = toPrimitive(r, "string"); return "symbol" == _typeof(o) ? o : o + ""; } export { toPropertyKey as default };