Skip to content

[feature request] implement optional chaining as now has full support #452

@DerekNonGeneric

Description

@DerekNonGeneric

Seems like we should be using optional chaining syntax (?.) in the loader source code now that it is stage 4 and well-supported. At the time when this was written, that language feature was relatively new and not yet generally available.

See:

if (typeof original === 'function') {
module.exports.default = function() {
return original.apply(this, arguments);
};
} else {
module.exports.default = original;

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions