as far as i am aware, ToPrimitive does not throw an error for any builtin JavaScript object type
but you can make your own objects which throw errors by defining [Symbol.toPrimitive]() on them
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.