2 ms·
Error objects have stack traces in modern engines, which is very helpful for debugging. Strings do not.
by strager 13y ago
Error objects have stack traces in modern engines, which is very helpful for debugging. Strings do not.
- jimmaswell 13y agoThat seems like poor design on the engines' part.