Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/node_modules/collect.js/src/helpers/nestedValue.js
Назад
'use strict'; /** * Get value of a nested property * * @param mainObject * @param key * @returns {*} */ module.exports = function nestedValue(mainObject, key) { try { return key.split('.').reduce((obj, property) => obj[property], mainObject); } catch (err) { // If we end up here, we're not working with an object, and @var mainObject is the value itself return mainObject; } };
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка