PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/handlebars/lib/handlebars/internal

Просмотр файла: create-new-lookup-object.js

import { extend } from '../utils';

/**
 * Create a new object with "null"-prototype to avoid truthy results on prototype properties.
 * The resulting object can be used with "object[property]" to check if a property exists
 * @param {...object} sources a varargs parameter of source objects that will be merged
 * @returns {object}
 */
export function createNewLookupObject(...sources) {
  return extend(Object.create(null), ...sources);
}

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


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