mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 17:19:29 +08:00
6 lines
No EOL
222 B
Text
6 lines
No EOL
222 B
Text
import _typeof from "./typeof.js";
|
|
import toPrimitive from "./toPrimitive.js";
|
|
export default function _toPropertyKey(arg) {
|
|
var key = toPrimitive(arg, "string");
|
|
return _typeof(key) === "symbol" ? key : String(key);
|
|
} |