IE is throwing a `Object doesn't support property or method 'defineProperty'` in Zurb foundation.min.js. Is there a fix or work around?
<p>I have a Drupal site with Zurb Foundation 6.2. When I try to run the site in IE 11 all the layout is broken and I get an error:</p>

<blockquote>
  <p>Object doesn't support property or method 'defineProperty'</p>
</blockquote>

<p>in foundation.min.js.</p>

<p>This method appears several times in foundation.js, eg:</p>

<pre><code>var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i &lt; props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
</code></pre>

<p>and I don't feel confident in altering it or screwing around with Foundation.</p>

<p>I read somewhere that this could also be caused if an HTML element has an ID of the same name so I brought up the page source of the page and searched, but found nothing.</p>

<p>Would anyone know if there's is a fix or workaround for this?</p>