NeahFront3/node_modules/preact-render-to-string/src/polyfills.js
2025-04-09 18:02:58 +02:00

9 lines
164 B
JavaScript

if (typeof Symbol !== 'function') {
let c = 0;
// eslint-disable-next-line
Symbol = function (s) {
return `@@${s}${++c}`;
};
Symbol.for = (s) => `@@${s}`;
}