Right, Mark pointed out shadowing as an advantage of using just a getStack lexical name. Need to see more to judge pleasantness.

/be

John Lenz wrote:
I'm under the impression Error.getStack would suffer the same scoping issues and it would have to be a module import that a custom loader could override or a global method that could be hidden by scoping. This doesnt seem like a pleasant API and seems like something to be relegated to SES/Caja specifically. But hopefully, I'm missing something.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to