François REMY (2013-07-10T22:41:22.000Z)
domenic at domenicdenicola.com (2013-07-13T00:58:14.471Z)
> Because the location info will be that of the `new Error`? One could > try this instead, which seems to work for me: > > ```js > throw { __proto__ : new Error(), reason: "Monday" } > ``` That one seems to be working (except in IE<11 since IE didn't support `__proto__` prior to that). That somehow surprises me that browser "unwrap" the prototype chain but they seem to do in this case.