main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
415 bytes
|
Rev | Line | |
---|
[d565449] | 1 | var _typeof = require("./typeof.js")["default"];
|
---|
| 2 | function setFunctionName(e, t, n) {
|
---|
| 3 | "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : "");
|
---|
| 4 | try {
|
---|
| 5 | Object.defineProperty(e, "name", {
|
---|
| 6 | configurable: !0,
|
---|
| 7 | value: n ? n + " " + t : t
|
---|
| 8 | });
|
---|
| 9 | } catch (e) {}
|
---|
| 10 | return e;
|
---|
| 11 | }
|
---|
| 12 | module.exports = setFunctionName, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.