diff --git a/vendor/ember-decorators-polyfill/index.js b/vendor/ember-decorators-polyfill/index.js index 6e39c90..3201711 100644 --- a/vendor/ember-decorators-polyfill/index.js +++ b/vendor/ember-decorators-polyfill/index.js @@ -275,7 +275,7 @@ import { let desc = Object.getOwnPropertyDescriptor(decorator, 'name'); // Pre ES2015 non standard implementation, "Function.name" is non configurable field // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name - if (desc.configurable) { + if (desc && desc.configurable) { Object.defineProperty(decorator, 'name', { value: fnName, });