Files
ladybird/Libraries/LibJS
Brian Gianforcaro 2a65db7c12 LibJS: Implement Error.prototype.name setter (#1776)
The MDN example for creating a custom error type in javascript uses:

    function CustomError(foo, message, fileName, lineNumber) {
        var instance = new Error(message, fileName, lineNumber);
        instance.name = 'CustomError';
        instance.foo = foo;
        Object.setPrototypeOf(instance, Object.getPrototypeOf(this));
        return instance;
    }

The name property on the Error prototype needs to be settable for
this to work properly.
2020-04-13 11:19:53 +02:00
..
2020-04-13 00:45:25 +02:00
2020-04-13 00:45:25 +02:00
2020-04-11 14:10:42 +02:00
2020-04-10 14:14:02 +02:00
2020-04-13 00:45:25 +02:00