This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/@hapi/marker/lib/index.js
2019-08-11 20:48:02 +02:00

19 lines
306 B
JavaScript
Executable file

'use strict';
const internals = {
symbols: new Map()
};
module.exports = exports = function (subject) {
let symbol = internals.symbols.get(subject);
if (symbol) {
return symbol;
}
symbol = Symbol(subject);
internals.symbols.set(subject, symbol);
return symbol;
};