We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a136315 commit b952c5fCopy full SHA for b952c5f
1 file changed
packages/core-js/configurator.js
@@ -14,7 +14,7 @@ var setAggressivenessLevel = function (object, constant) {
14
};
15
16
module.exports = function (options) {
17
- if (typeof options == 'object') {
+ if (options && typeof options == 'object') {
18
setAggressivenessLevel(options.useNative, isForced.NATIVE);
19
setAggressivenessLevel(options.usePolyfill, isForced.POLYFILL);
20
setAggressivenessLevel(options.useFeatureDetection, null);
0 commit comments