10 lines
210 B
JavaScript
10 lines
210 B
JavaScript
'use strict';
|
|
var shared = require('../internals/shared');
|
|
var uid = require('../internals/uid');
|
|
|
|
var keys = shared('keys');
|
|
|
|
module.exports = function (key) {
|
|
return keys[key] || (keys[key] = uid(key));
|
|
};
|