#JavaScript (h/t Ashley Claymore 🌈 (npub1s4w…gdf2)):
If you don’t know what `value` is then this statement is problematic:
console.log(`Unexpected value: ${value}`);
Why? `value` might be a symbol: https://exploringjs.com/js/book/ch_symbols.html#converting-symbols
Thus:
console.log(`Unexpected value: ${String(value)}`);