main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
474 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
[79a0317] | 3 | /** @type {NonNullable<import('./getInferredName')> | undefined} */
|
---|
[d565449] | 4 | var getInferredName;
|
---|
| 5 | try {
|
---|
[79a0317] | 6 | // eslint-disable-next-line no-new-func, no-extra-parens
|
---|
| 7 | getInferredName = /** @type {NonNullable<import('./getInferredName')>} */ (Function('s', 'return { [s]() {} }[s].name;'));
|
---|
[d565449] | 8 | } catch (e) {}
|
---|
| 9 |
|
---|
| 10 | var inferred = function () {};
|
---|
[79a0317] | 11 |
|
---|
| 12 | /** @type {import('./getInferredName')} */
|
---|
[d565449] | 13 | module.exports = getInferredName && inferred.name === 'inferred' ? getInferredName : null;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.