Viewing File: /home/ubuntu/todaykat-frontend-base/node_modules/class-is/test/fixtures/es5/ImplicitWithoutNew.js
'use strict';
const withIs = require('../../..');
function ImplicitWithoutNew() {
this.label = 'ImplicitWithoutNew';
}
ImplicitWithoutNew.prototype.getLabel = function () {
return this.label;
};
module.exports = withIs.proto(ImplicitWithoutNew, {
className: 'ImplicitWithoutNew',
symbolName: '@org/package/ImplicitWithoutNew',
withoutNew: true,
});
module.exports.WrappedClass = ImplicitWithoutNew;
Back to Directory
File Manager