DEV Community

Discussion on: JavaScript: The Fun Parts

Collapse
 
qm3ster profile image
Mihail Malo

Cool. Maybe I'll switch then.
It was fun to type this, with the "wrapped" functions having a literal number attached to them, but it's not like either the Symbol or the WeakMap will ever be exported.

On the other hand, I won't be able to tell if a function is "wrapped" by type tooltip any more or see its bytelength :/

Thread Thread
 
solkimicreb profile image
Miklos Bertalan

That's true. I only use TypeScript when I must so I tend to not think about typings.