It can already be a getter if you like, which would allow a function to compute the value on demand.
On Sat, May 11, 2019 at 6:55 AM _ zaoqi <[email protected]> wrote: > Allow Error.prototype.message to be a Function > > It is useful in this case: > > https://github.com/browserify/commonjs-assert/pull/47 > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

