main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
227 bytes
|
Line | |
---|
1 | import _typeof from "./typeof.js";
|
---|
2 | import toPrimitive from "./toPrimitive.js";
|
---|
3 | function toPropertyKey(t) {
|
---|
4 | var i = toPrimitive(t, "string");
|
---|
5 | return "symbol" == _typeof(i) ? i : i + "";
|
---|
6 | }
|
---|
7 | export { toPropertyKey as default }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.