4 ms·
I think you're confused. It's not a bug, try/catch executes just fine. try/catch just isn't supported by V8's Crankshaft so some people avoid putting it in pot
by magicalist 11y ago
I think you're confused. It's not a bug, try/catch executes just fine.
try/catch just isn't supported by V8's Crankshaft so some people avoid putting it in potentially hot code.
- kuschku 11y agoWhy do they avoid using it? That's like not using CSS3 because IE6 doesn't support it. Sure, some users of an antiquated browser will not get the full performance, but I have no sympathy for them. If something doesn't work on Firefox, it's always "just switch to Chrome, our site only works on Chrome". If it doesn't work on Chrome, all hell breaks loose.