Check if your code is running on IE, and what version you're running from.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md
README.md
index.js
package.json

README.md

is-ie

Gives you the version of Internet Explorer your code is running in as a float, or null if running in Node/Chrome/Firefox/etc.

Installation

npm install is-ie

Usage

var version = require('is-ie')

if (version === null) {
  start()
} else
if (version <= 9) {
  throw new Error
}