Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/sequelize/lib/utils/classToInvokable.js
Назад
'use strict'; /** * Wraps a constructor to not need the `new` keyword using a proxy. * Only used for data types. * * @param {Function} Class The class instance to wrap as invocable. * @returns {Proxy} Wrapped class instance. * @private */ function classToInvokable(Class) { return new Proxy(Class, { apply(Target, thisArg, args) { return new Target(...args); }, construct(Target, args) { return new Target(...args); }, get(target, p) { return target[p]; } }); } exports.classToInvokable = classToInvokable;
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка