/
dany
/
ReshenijaBotInformationSite
Обзор
Документация
Войти
/
dany
/
ReshenijaBotInformationSite
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
node_modules/underscore/modules/create.js
11 строк
390 B
Daniil
Initial commit
31 окт 2023, 01:10
31 окт 2023, 01:10
a171ae1
Код
Авторство
О чём код?
import baseCreate from './_baseCreate.js'; import extendOwn from './extendOwn.js'; // Creates an object that inherits from the given prototype object. // If additional properties are provided then they will be added to the // created object. export default function create(prototype, props) { var result = baseCreate(prototype); if (props) extendOwn(result, props); return result; }