UNPKG

@oxc-node/core

Version:

Transformer and register for Node.js projects.

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