PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@swc/helpers/esm

Просмотр файла: _object_without_properties_loose.js

function _object_without_properties_loose(source, excluded) {
    if (source == null) return {};

    var target = {};
    var sourceKeys = Object.keys(source);
    var key, i;

    for (i = 0; i < sourceKeys.length; i++) {
        key = sourceKeys[i];
        if (excluded.indexOf(key) >= 0) continue;
        target[key] = source[key];
    }

    return target;
}
export { _object_without_properties_loose as _ };

Выполнить команду


Для локальной разработки. Не используйте в интернете!