You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
227 B
7 lines
227 B
3 weeks ago
|
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 };
|