Use 'Object.defineProperty' instead of 'Reflect.defineProperty'

This commit is contained in:
Florent Cailhol 2018-03-22 10:37:18 +01:00
parent d668a23fdc
commit b43db8745e
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ exportPlugins((exports.debug = {}), {
});
const defineMissingPluginError = (namespace, pluginName, errorMessage) => {
Reflect.defineProperty(namespace, pluginName, {
Object.defineProperty(namespace, pluginName, {
configurable: false,
enumerable: true,
get() {