Projekt

Obecné

Profil

Stáhnout (252 Bajtů) Statistiky
| Větev: | Revize:
1
var _typeof = require("../helpers/typeof");
2

    
3
var toPrimitive = require("./toPrimitive");
4

    
5
function _toPropertyKey(arg) {
6
  var key = toPrimitive(arg, "string");
7
  return _typeof(key) === "symbol" ? key : String(key);
8
}
9

    
10
module.exports = _toPropertyKey;
(75-75/80)