Files
agentic-labs-challenge/adaptive-loop/node_modules/loupe/lib/symbol.js
T
AlexKucera 2c1d0fc4d0 (Adaptive Loop) Pass 3
(Adaptive Loop) Record freeze commit hash in context manifest
2026-08-13 15:23:35 +02:00

7 lines
209 B
JavaScript

export default function inspectSymbol(value) {
if ('description' in Symbol.prototype) {
return value.description ? `Symbol(${value.description})` : 'Symbol()';
}
return value.toString();
}