Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_.each(options, function (value, key) {
var platformOptionsRef = PLATFORM_OPTIONS[key];
if (typeof platformOptionsRef === 'undefined' || platformOptionsRef.platforms.indexOf(platform) === -1) {
return Reflect.deleteProperty(options, key);
}
});