20:19
<Andreu Botella>

I noticed that the MDN page on the Error stack property says

Different engines set this value at different times. Most modern engines set it when the Error object is created.

20:20
<Andreu Botella>
in my testing, all mainstream browsers set it on creation
20:20
<Andreu Botella>
so i'm curious if this was different in the past, or if there are niche engines that do something else
22:01
<Ashley Claymore>
When I used to use QT 5.5 the WebKit browser there would only set it when the error was thrown. So we had code that would throw and immediately catch when wanted to get the stack