Sha256: 3458ae55299b56229bd7019bf4e8fe46895efbb074ab7aceac45586796d38197

Contents?: true

Size: 328 Bytes

Versions: 44

Compression:

Stored size: 328 Bytes

Contents

import _typeof from "./typeof.js";
function setFunctionName(e, t, n) {
  "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : "");
  try {
    Object.defineProperty(e, "name", {
      configurable: !0,
      value: n ? n + " " + t : t
    });
  } catch (e) {}
  return e;
}
export { setFunctionName as default };

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.62 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.61 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.60 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.59 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.58 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.57 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.56 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.55 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.54 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.53 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.52 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.51 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
immosquare-cleaner-0.1.50 node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js