Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/fn-name/readme.md
Назад
# fn-name [](https://travis-ci.org/sindresorhus/fn-name) > Get the name of a named function There is a [`name`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name) property on functions, but it's not supported in all browsers. This module tries that property then falls back to extracting the name from the function source. ## Install ``` $ npm install fn-name ``` ## Usage ```js const fnName = require('fn-name'); fnName(function foo() {}); //=> 'foo' ``` --- <div align="center"> <b> <a href="https://tidelift.com/subscription/pkg/npm-fn-name?utm_source=npm-fn-name&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> </b> <br> <sub> Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. </sub> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка