"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "passiveSupported", {
    enumerable: true,
    get: function() {
        return passiveSupported;
    }
});
var _canusedom = require("./can-use-dom");
var passiveSupported = false;
if (_canusedom.canUseDom) {
    try {
        var opts = Object.defineProperty({}, 'passive', {
            get: function get() {
                passiveSupported = true;
            }
        });
        window.addEventListener('test-passive-supported', null, opts);
    } catch (e) {
        console.log(e);
    }
}
