Skip to content

Commit

Permalink
Merge pull request #538 from turbobridge/getownpropnames_fix
Browse files Browse the repository at this point in the history
Adds workaround for rollup treeshaking issue
  • Loading branch information
zloirock committed Apr 26, 2019
2 parents 13c6d41 + 9df8a85 commit 767dbde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var nativeGetOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;
var FAILS_ON_PRIMITIVES = require('../internals/fails')(function () { Object.getOwnPropertyNames(1); });
var FAILS_ON_PRIMITIVES = require('../internals/fails')(function () { return !Object.getOwnPropertyNames(1); });

// `Object.getOwnPropertyNames` method
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
Expand Down

0 comments on commit 767dbde

Please sign in to comment.