How to use the harmony-reflect.deleteProperty function in harmony-reflect

To help you get started, we’ve selected a few harmony-reflect examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github itgalaxy / favicons / helpers-es5.js View on Github external
_.each(options, function (value, key) {
                var platformOptionsRef = PLATFORM_OPTIONS[key];

                if (typeof platformOptionsRef === 'undefined' || platformOptionsRef.platforms.indexOf(platform) === -1) {
                    return Reflect.deleteProperty(options, key);
                }
            });

harmony-reflect

ES5 shim for ES6 (ECMAScript 6) Reflect and Proxy objects

(Apache-2.0 OR MPL-1.1)
Latest version published 3 years ago

Package Health Score

67 / 100
Full package analysis